according to this post on the mozilla blog, we will be able to compile wasm as it streams into the browser in much the same way that images are decoded. this is a huge game changer from the current paradigm of loading javascript completely before being able to parse and compile it.
JavaScript code is much more expensive, byte for byte, than an image, because of the time spent parsing and compiling it.
It's possible to parse and compile wasm as fast as it comes over the network, which makes it much more like an image than JavaScript code.
Game changer!
— Yehuda Katz (@wycats ) December 19, 2017
this will make so many things possible in the browser that never were before!
i decided to follow this tutorial and ended up with this.
i don't know what to do next. any ideas?
Top comments (0)