3 ms·
The WASM memory is just a Uint8Array in the JS VM. You can use a big byte array and du manual memory management in JVM too. It's a well known pattern on the JVM
by fulafel 9y ago
The WASM memory is just a Uint8Array in the JS VM. You can use a big byte array and du manual memory management in JVM too. It's a well known pattern on the JVM.
- Rusky 9y agoThat's entirely unhelpful for the call stack, values stored in registers, loading and storing other sizes, atomics, etc... Wasm solves that because it's aware of what it's doing. Java et al do not.