Hacker News new | ask | show | jobs
by liampulles 4 days ago
There are performance reasons to handle memory allocation manually and tactically. This is why languages which deal with memory manually are not going anywhere.

Whether Zig will become dominant in that space remains to be seen.

1 comments

While true, that doesn't distinguish between Zig and Rust, as both allow you to manually allocate memory and create custom data structures.
Ok, but doing manual memory management in Rust is a bit like digging a ditch with a spoon. I get that its technically possible, that does not mean it should be done outside the most exceptional of circumstances.