4 ms·
> The addressable memory space doesn't include code, globals, stack, etc Really? In that case, how does a language like Rust, where stack allocation is used re
by moosingin3space 9y ago
> The addressable memory space doesn't include code, globals, stack, etc
Really? In that case, how does a language like Rust, where stack allocation is used regularly, compile to WASM?
- krallja 9y agoGP is referring to the call stack. It is still possible to use the WASM heap as a stack, by maintaining a stack pointer and a base pointer.