Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Emscripten has an option to chunk the typed array,

https://github.com/kripken/emscripten/wiki/Split-Memory

In that mode, memory allocation is basically like in C and C++: each block can be allocated and freed independently.

Of course, this does have a performance cost, so it's a tradeoff.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: