News for hackers. Stuff that matters.
Re:Zig's New Relationship with LLVM by skohan on Monday September 28, 2020 @10:26AM (#24616920)
Where does the extra productivity in Zig come from in your experience? I haven't worked with it, but my understanding is that memory management is manual and explicit, which tends to come with some cognitive overhead. If Zig has a good solution for this I would be curious how it achieves it.
Re:Zig's New Relationship with LLVM by dnautics on Monday September 28, 2020 @11:02AM (#24617359)
Defer and errdefer help make the memory handling dead easy.