DEV Community

Discussion on: Web Assembly should be a default binary target

Collapse
nxtexe profile image
𝓃𝓍𝓉𝑒.𝓅𝓎 🇯🇲

This may be less of a problem once interface types are fully integrated. Some including myself hope to see a script tag feature added where the type can be "application/wasm" and be fed a wasm binary directly without JavaScript setting up an environment.

Collapse
mitschabaude profile image
Gregor Mitscha-Baude • Edited

That would definitely be nice! But I wouldn't expect that it would make a noticeable performance difference to what you can do today: inline a couple of lines of JS that instantiate the Wasm