Dear Community,
I'm curious about how WebAssembly (WASM) handles malloc
, as I didn't see the implementation of the brk
syscall in wasi-libc
. How is heap memory managed inside the WASM user space?
Best,
The core WebAssembly spec has a memory.grow instruction for extending linear memory; that's what wasi-libc
uses.
Last updated: Dec 23 2024 at 12:05 UTC