3 ms·
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.
by pverghese 4y ago
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.
- Arnavion 4y agoThey'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.
- pverghese 4y agoI'm saying you have the option to use a gc or not. It's as simple as changing the allocator you use