News for hackers. Stuff that matters.
Re:React VR by flohofwoe on Tuesday March 14, 2017 @04:25PM (#13871158)
Not at all, both asm.js and wasm give you a flat memory region (in asm.js it's a single, big JS typed array), the stack and all allocations live in this 'heap', managed by emscripten's malloc wrapper (which is jemalloc I think), the resulting memory layout is the same as on a native 32-bit platform, with the same alignment rules. There are no 'managed' Javascript objects in asm.js or wasm (unless you need to call out into web APIs).

There are no comments on this comment yet.