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