Does anyone know what global memory allocator (rust) WASM guest use ? And recommend alternative memory allocator?
Thanks
Rust guests currently use dlmalloc
. For alternatives, one that I've used is lol_alloc
which has some allocators with much smaller code size.
I can't vouch for this one but there is also talc: https://github.com/SFBdragon/talc
Thanks for suggestions!
Last updated: Dec 23 2024 at 12:05 UTC