💾 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

View Raw

More Information

-=-=-=-=-=-=-

Manual Memory Management in Go using jemalloc

Author: chewxy

Score: 19

Comments: 3

Date: 2020-11-06 21:34:23

Web Link

________________________________________________________________________________

ravenide wrote at 2020-11-07 02:50:03:

Just wait until they figure out how to use arena/stack-based memory.

erik_seaberg wrote at 2020-11-07 02:07:45:

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.

nine_k wrote at 2020-11-07 05:01:31:

IIRC Zig just requires an allocator as an argument to any stdlib function which can allocate.