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: Nov 22 2024 at 17:03 UTC