2 ms·
It’s not a complete replacement for JS transpiling. It has some advantages for specific use cases. A couple benefits I like are: Not having the JS GC randomly
by cheschire 1y ago
It’s not a complete replacement for JS transpiling. It has some advantages for specific use cases. A couple benefits I like are:
Not having the JS GC randomly pausing your process unpredictably.
Sandboxing untrusted code, i.e. you sell a SaaS and you also want clients to be able to run untrusted plugins from a marketplace.
- TekMol 1y agoYou can use fixed data structures like Uint8Array in JavaScript just like you can (have to?) in Wasm. Then you won't have the GC do stuff, right?