4 ms·
Why would WASM reduce code size? WASM is quite low-level. JS has the advantage of a runtime already being present.
by anothergoogler 8y ago
Why would WASM reduce code size? WASM is quite low-level. JS has the advantage of a runtime already being present.
- thermodynthrway 8y agoIt's compiled bytecode, designed to be compact. JS is "minified" but there's limits to how far you can go. JVM and WASM bytecode is designed to use as little space as possible. Not sure about WASM but the instruction set in JVM bytecode is intentionally limited in a ton of ways to keep instruction length to 1 byte