News for hackers. Stuff that matters.
Re:Ask HN: Is there still a place for native desktop apps? by AnIdiotOnTheNet on Monday May 18, 2020 @09:41AM (#23222153)
I don't think that's as hard as you make it out to be. Notably, Zig does not have a default allocator and its standard library is written accordingly, making it trivial to ensure the use of the appropriate allocation strategy for any given task, including using a debug allocator that tracks double-free and memory leaks.
Re:Ask HN: Is there still a place for native desktop apps? by pjmlp on Tuesday May 19, 2020 @04:57AM (#23232789)
Has Zig already sorted out the use-after-free story?
Re:Ask HN: Is there still a place for native desktop apps? by AnIdiotOnTheNet on Tuesday May 19, 2020 @07:49AM (#23233788)
No, and as far as I am aware it makes no attempt to do so other than some allocators overwriting freed memory with a known signature in debug modes so the problem is more obvious.