Re:Netflix: Removing client-side React.js improved performan...
by 1_player on Friday October 27, 2017 @11:56AM
(#15569618)
I'll have a look at Glimmer later, but who executes this bytecode?
Re:Netflix: Removing client-side React.js improved performan...
by dean on Friday October 27, 2017 @12:06PM
(#15569703)
> They are instantly executable by a small VM written as a JS library
Guess you have download the VM on initial page load.
Re:Netflix: Removing client-side React.js improved performan...
by christophilus on Friday October 27, 2017 @02:04PM
(#15570774)
Yes. It's about 18KB of JavaScript.
Re:Netflix: Removing client-side React.js improved performan...
by keda on Friday October 27, 2017 @12:06PM
(#15569709)
glimmer-vm https://github.com/glimmerjs/glimmer-vm
Re:Netflix: Removing client-side React.js improved performan...
by irrational on Friday October 27, 2017 @01:28PM
(#15570450)
Is it more similar to Vue server-side rendering (https://vuejs.org/v2/guide/ssr.html)? Or are Glimmer and server-side rendering two different beasts?
Re:Netflix: Removing client-side React.js improved performan...
by christophilus on Friday October 27, 2017 @02:04PM
(#15570778)
Two different beasts.
What Glimmer does is it converts your views into bytecode (not JavaScript) which can be streamed and run without a JavaScript compilation / parsing phase in the browser. Vue, React, and Angular views all ultimately are translated into JavaScript which has to be compiled / parsed in each browser.