Hacker News new | ask | show | jobs
by saagarjha 1005 days ago
C has use-after-free and double-free safety if you patch out free. Not really a solution, is it?
1 comments

What do you think the difference is between “patching out free” and allocators as a first-class feature? I’ll bet you can think of a few rather significant ones if you try.
Zig has custom allocators as a first-class feature. It does not have memory safety as a first-class feature.