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!
-
-
Replying to @wycats
But wasm is not really JavaScript :( Would be nice to have a JavaScript bytecode with those good properties.
7 replies 0 retweets 30 likes -
Then it probably wouldn't resemble the JavaScript we love and use right? Or no?
1 reply 0 retweets 2 likes -
Replying to @TheLarkInn @wycats
It would be an output target, something webpack would generate. But it would be 1 to 1 with all the javascript constructions, so you could have a binary ast -> textual js tool that would produce equivalent javascript back
2 replies 0 retweets 14 likes -
Sounds like Binary AST proposal to me?https://github.com/binast/ecmascript-binary-ast …
1 reply 0 retweets 17 likes -
Binary AST gets JS closer to wasm, but wasm would still have a huge advantage, even with optimistic projections. Plus binary-ast got a big skeptical shrug from TC39 (sadly) while wasm is shipping today.
4 replies 0 retweets 16 likes -
Replying to @wycats @RReverser and
In 12 months in beta + 12 months out, not a single player started making $ with wasm. Magic tech, no use case yet.
1 reply 0 retweets 0 likes -
-
Replying to @wycats @RReverser and
$=Dollars, Money. Sorry! wasm ships in 68% of browsers, fallbacks to asmjs for the rest.. yet afaik, no company has shipped some core product with wasm.
1 reply 0 retweets 0 likes
Glimmer (the project I'm working on) is gonna ship wasm Q1 2018 if all goes well. It'll then be in Ember, which is in tons of products that make $. wasm->asm fallback has serious issues and is still our #1 blocker.
-
-
Replying to @wycats @RReverser and
Great! I need to check your branch :)
0 replies 0 retweets 2 likesThanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.