3 ms·
Very interesting! Im curious, how does this work, it binary patches glibc allocator? AFAIK custom allocators are only in nightly and require generics in the for
by michalsustr 7mo ago
Very interesting! Im curious, how does this work, it binary patches glibc allocator? AFAIK custom allocators are only in nightly and require generics in the form Vec<T, A>
- section_me 7mo agoNo, it uses LD_PRELOAD symbol interception, not binary patching. This isn't the Rust Allocator in nightly. This is a drop-in replacement for the system's malloc implementation. Think jemalloc, tcmalloc and mimalloc.