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!
-
-
If only JavaScript proposals would be decided on http://uservoice.com or similar platform by entire community and not by vendors themselves...
-
It's called TC39. Plz join.
-
First, individuals can't join, only companies whose interests lie there. Second, even if I could, it would be still a group of interested parties (aka vendors), just with one more added. Still not the community as a whole.
-
When I joined I was community member #1. Now there's tons of people not from vendors. The more the merrier! The more from the community the more we can all push for features of interest to the community. binary-ast has a chance because of this factor.
-
Can you share more details? ~1 year ago I reached out to the Secretary General about attending as a community member & was informed that I HAD to be sponsored by a company. As a minor figure (to put it gently) in the community that wasn't going to happen.
End of conversation
New conversation -
-
-
Worth mentioning that
@ChakraCore supports bytecode bundles today. We use them in@reactnative@ReactWindows to noticeably cut app launch/TTI,initial native heap fragmentation, & managed GC overhead. My tests showed similar improvements in Node-ChakraCore as well. /cc@AruneshC -
So does V8. Problem is, until there is a standard for frontend binary representation of at least AST, Web can't benefit from these optimisations.
-
... unless you own the platform and progressively serve bundles. But yes ;)
-
by definition you don't "own the platform" on the web.
-
Sorry if I wasn’t clear. service workers/Observables/etc aren’t implemented lockstep across all browsers at the same time, by all vendors, on all devices, and certainly not only after the spec was finalized. Temporary fragmentation is intrinsic and accelerates innovation.
-
In this case, binary AST is purely an internal implementation detail as has shipped as a web-facing API by zero browsers. So it's not so much fragmentation as much as you have the luxury to use engine internals ;)
-
Wait so you are saying there is a bytecode format you can ship in ChakraCore and V8 right now?
-
There's sort of a bytecode format, and it's different in those two engines, and is not a web-facing API (I don't even think it's considered a stable API in those engines, but maybe it is in ChakraCore)
- 1 more reply
New conversation -
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.