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.
-
-
Yes, it's shipping today, but they are not interchangeable, so it still doesn't matter for most devs while binary AST could provide great benefits for everyone with little to no changes to stack. The shrug part sounds sad indeed.
1 reply 0 retweets 13 likes -
I'm strongly in favor of binary-ast. Speak to your local browser representative (FF is already bought in, so you can move on to other browsers).
2 replies 0 retweets 17 likes -
Replying to @wycats @RReverser and
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@AruneshC1 reply 0 retweets 3 likes -
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.
1 reply 1 retweet 5 likes -
Replying to @RReverser @wycats and
... unless you own the platform and progressively serve bundles. But yes ;)
1 reply 0 retweets 1 like -
Replying to @syke @RReverser and
by definition you don't "own the platform" on the web.
1 reply 0 retweets 2 likes -
Replying to @wycats @RReverser and
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.
1 reply 0 retweets 0 likes -
Replying to @syke @RReverser and
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 ;)
1 reply 0 retweets 0 likes -
Wait so you are saying there is a bytecode format you can ship in ChakraCore and V8 right now?
3 replies 0 retweets 1 like
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)
-
-
Replying to @wycats @TheLarkInn and
It is in
@ChakraCore , hence@reactnative using it across Windows 10 (where it’s built in binary library and accessed via JSRT) and other platforms where same API is stable0 replies 0 retweets 3 likesThanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
TIL
0 replies 0 retweets 0 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.