Re:The Glimmer VM: Boots Fast and Stays Fast
by abecedarius on Thursday April 06, 2017 @12:55PM
(#14052320)
Thanks. Up to this point I too was scratching my head wondering what the fuss was about -- if this was a JavaScript-in-Typescript VM, or what. It's a custom virtual machine for a domain-specific language for filling templates, right?
[ Parent
| on HN ]
Re:The Glimmer VM: Boots Fast and Stays Fast
by steveklabnik on Thursday April 06, 2017 @12:58PM
(#14052358)
Yes, this is a good succinct way to put it. It compiles handlebars templates to its VM, and then as the machine executes, it updates the DOM appropriately. You can think of the Glimmer VM as a VM interface to the DOM rather than the direct DOM interface, and handlebars templates as programs that compile to that VM.