News for hackers. Stuff that matters.
Re:Manual Memory Management in Go using jemalloc by erik_seaberg on Friday November 06, 2020 @09:07PM (#25012766)
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.
Re:Manual Memory Management in Go using jemalloc by nine_k on Saturday November 07, 2020 @12:01AM (#25013309)
IIRC Zig just requires an allocator as an argument to any stdlib function which can allocate.