Hacker News new | ask | show | jobs
by kaba0 1291 days ago
There is no significant difference between managed languages and something like zig in this category of programs, it is not a video codec, so I stand by my “no performance sensitive” claim. And especially because algorithms matters much much more, there is a good chance that a faster one can be implemented when you don’t have to care about whether that memory location is still alive or not.
1 comments

After on-disk caching, the biggest performance improvements I've seen to compilers have been from changing how data structures are allocated/deallocated and laid out in memory.

I haven't seen much opportunity to improve algorithm performance because which algorithms are applicable is heavily constrained by language design.

In my experience the difference between something like Zig and a language with managed memory is large.