3 ms·
Do any allocators use anything else these days? D's std.experimental.allocator module is helpful for building allocators bit by bit even for eventual use in C+
by mhh__ 6y ago
Do any allocators use anything else these days?
D's std.experimental.allocator module is helpful for building allocators bit by bit even for eventual use in C++ or C.
- JoshTriplett 6y ago> Do any allocators use anything else these days? Yes, some allocators still support using sbrk, though that's a bad idea for security reasons (ASLR).
- jashmatthews 6y agoIIUC, glibc malloc still manages one arena with sbrk and then grabs other arenas via mmap.