Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
panic
· 5y ago · 0 comments
It's worth noting that WebAssembly, at least for the moment, only supports a single brk/sbrk-style growable heap -- allocators targeting the web can't use any of the mmap tricks.
Comments
[–]
afr0ck
5y ago
Pardon my ignorance, but I'm really curious to know why?
[–]
panic
OP
5y ago
The FAQ has a "what about mmap?" section which gives some justification:
https://webassembly.org/docs/faq/#what-about-mmap