News for hackers. Stuff that matters.
Re:Performance Showdown: Rust vs Javascript (2020) by flohofwoe on Friday February 12, 2021 @10:24AM (#26114613)
Zig has a very simple and straightforward solution: Every standard library function which needs to allocate takes an allocator argument. That way it's immediately obvious what functions are potentially expensive. It's not even a magic compiler or language feature, just a standard library convention.

There are no comments on this comment yet.