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: Jan 24 2025 at 00:11 UTC