Re:Goodbye to the C++ Implementation of Zig
by pverghese on Thursday December 08, 2022 @06:54PM
(#33915535)
You just need to link in boehm c implementation and use that as the allocator just like chooosing any other allocator in zig. That's how easy it is.
[ Parent
| on HN ]
Re:Goodbye to the C++ Implementation of Zig
by Arnavion on Thursday December 08, 2022 @07:29PM
(#33915857)
They're saying the lack of GC is an advantage over golang, not that it's a deficiency.
Or if you're suggesting a GC to solve the memory unsafety, a GC only solves leaks and doesn't do anything for use-after-free or simultaneous unexpected mutations.