News for hackers. Stuff that matters.
Re:Zig's Incremental Compilation Internals by seanmcdirmid on Tuesday July 28, 2026 @09:39PM (#49092417)
You can always use things like arenas in C and get similar speed ups without GC overhead. If you know your memory lifetimes in advanced, avoiding granular malloc/free calls is pretty straightforward. A GC language doesn’t usually offer such options.
Re:Zig's Incremental Compilation Internals by pjmlp on Wednesday July 29, 2026 @02:21AM (#49094001)
Sure it does, D just to give one example.
Re:Zig's Incremental Compilation Internals by foldr on Wednesday July 29, 2026 @05:16AM (#49095069)
You can easily use arena allocation in a GCed language. With modern GCs there's not usually much performance benefit, so it tends to be limited to hot paths.