💾 Archived View for dioskouroi.xyz › thread › 25011408 captured on 2020-11-07 at 00:56:27. Gemini links have been rewritten to link to archived content
-=-=-=-=-=-=-
________________________________________________________________________________
Just wait until they figure out how to use arena/stack-based memory.
If you’ve brave enough to try managing memory yourself, C++ has a whole library of collections that support custom allocators without the readability penalty for FFI. I wish they would have written why they didn’t use it.
IIRC Zig just requires an allocator as an argument to any stdlib function which can allocate.