HackerTrans
トップ新着トレンドコメント過去質問紹介求人

dajoh

no profile record

投稿

TP-Link cannot get IPv6 firewall right

sim642.eu
5 ポイント·投稿者 dajoh·2 年前·5 コメント

コメント

dajoh
·6 か月前·議論
>I'm currently #1 on 5 different very complex computer engineering problems

Ah yes, well known very complex computer engineering problems such as:

* Parsing JSON objects, summing a single field

* Matrix multiplication

* Parsing and evaluating integer basic arithmetic expressions

And you're telling me all you needed to do to get the best solution in the world to these problems was talk to an LLM?
dajoh
·2 年前·議論
What you're describing is called fixed point arithmetic, a super cool technique I wish more programmers knew about.

Proper finance related code should use it, but in my experience in that industry it doesn't seem very common unless you're running mainframes.

Funnily enough, I've seen a lot more fixed point arithmetic in software rasterizers than anywhere else. FreeType, GDI, WPF, WARP (D3D11 reference rasterizer) all use it heavily.
dajoh
·2 年前·議論
> It’s the implicit nullability of all reference types which is the mistake, since it leads to undefined behaviour at runtime.

How does the implicit nullability of all reference types lead to "undefined behaviour at runtime" in, for example, Java or C#?

I'm aware that dereferencing NULL pointers in C/C++ is undefined behavior, but I haven't seen this in any other language.