3 ms·
Close to the metal: Glimmer is one of the fastest DOM rendering engines, delivering exceptional performance for initial renders as well as updates. Architected
by panic 10y ago
Close to the metal: Glimmer is one of the fastest DOM rendering engines, delivering exceptional performance for initial renders as well as updates. Architected like a virtual machine (VM), Glimmer compiles your templates into low-level code so it can run as fast as possible—without sacrificing ease of use.
By low-level code, they mean… JavaScript, right? In what sense is this "close to the metal"?
- ericwood 10y agoPretty sure this is partially a joke based on the whole "nodeJS is close to the metal" thing: https://twitter.com/shit_hn_says/status/234856345579446272?lang=en https://twitter.com/shit_hn_says/status/234856345579446272?l...
- halfdan 10y agoNo, they are compiling it down to instructions which are then interpreted by the Ember/Glimmer VM: https://youtu.be/vg5A_UOGShg?t=42m8s https://youtu.be/vg5A_UOGShg?t=42m8s
- spicyj 10y ago…which is written in JS. Everything's all relative though. JS is certainly a reasonable choice for this.
- shawndumas 10y agoThey mean that they made use of --allow_natives_syntax to identify Hidden Classes.