ReactiveConf 2017 - Tom Dale: Secrets of the Glimmer VM
Channel:ReactiveConf · Length:33:23 · Published:2017-11-20 · Views:2929
Summary
Tom Dale explains the internals of the Glimmer VM, Ember's rendering engine, which compiles templates to opcodes. The talk includes a performance benchmark demo.
Why HN recommends it
HN points to it for understanding Glimmer and Ember's view layer, and as a reference for opcode-compiled templates.
you should not miss @tomdale's talk at ReactConf about GlimmerJS — HN, 2018
Web development · Compilers, interpreters & program analysis
Subtitles (excerpt)
[Music] hey everyone my name is Tom I work at LinkedIn I'm a software engineer there and I work on projects that make sure that our site feels fast for everyone and that includes customers in emerging markets like India and China where for many people their first time on the web is through the smartphone it might be the only way that they access the web so I want to talk to you about web performance and I know it's like a very common talk on the conference circuit these days but often when people talk often people talk about an app being fast or being slow but really there's no single fast or slow axis instead there's just a number of axes along which an app or a library can be fast or slow so I want to break these axes down into two broad categories the first is that we want to build an app that is lightweight that means that it's something that when the user taps a link to one of our URLs they're going to see something instantly but secondly we also want to build an efficient app we want to build something that feels incredibly responsive or sometimes native like people will call it once it's up and running and there's an interesting thing here which is that the two of these lightweight and responsive are often in tension
On Hacker News
Ember is the PostgreSQL of JavaScript frameworks. Similar to the way Postgres has deep roots that trace back to Ingres[1] in the days before SQL was a solidly established standard, Ember traces it roots back to SproutCore[2] in the JS framework pre-historic era of 2010. And the same way PostgreSQL was seen as a second-tier or only "historically significant" open source database, the PostgreSQL te… — mhale, 2018-01
This is a good development. Honestly one thing I very much think is a downside about React is the fact that your template is also JavaScript. Don't get me wrong this is incredibly powerful and can be very expressive, but it comes at a cost. That cost has the same cost as other JavaScript - it's blocking, cannot be paused and has all the possibilities of de-optimizations that might occur in the JI… — jonkoops, 2019-10
Yes, the runtime needs to be JavaScript. It’s not obviously faster, but it’s been benchmarked to be faster. [VIDEO] You can skip to 29:34 for the performance demo. — lightblade, 2018-11
Related videos
- Differential Synchronization · Google TechTalks · 54:43
- What the heck is the event loop anyway? | Philip Roberts | JSConf EU · JSConf · 26:52
- Rich Harris - Rethinking reactivity · You Gotta Love Frontend · 36:45
- Lexical Scanning in Go - Rob Pike · GoogleFOSSSydney · 51:17
- William Byrd on "The Most Beautiful Program Ever Written" [PWL NYC] · PapersWeLove · 1:31:05
- Crockford on JavaScript - Volume 1: The Early Years · YUI Library · 1:42:08
- RailsConf 2016 - Turbolinks 5: I Can’t Believe It’s Not Native! by Sam Stephenson · Confreaks · 37:37
- JavaScript: The Good Parts · Google TechTalks · 1:03:47
- CppCon 2016: Jason Turner “Rich Code for Tiny Computers: A Simple Commodore 64 Game in C++17” · CppCon · 1:19:52
- Clasp: Common Lisp using LLVM and C++ for Molecular Metaprogramming · Google TechTalks · 57:37
- Pete Hunt: React: Rethinking best practices -- JSConf EU · JSConf · 29:31
- Dan Abramov - Live React: Hot Reloading with Time Travel at react-europe 2015 · ReactEurope · 30:40
- Compiling C to printable x86, to make an executable research paper · suckerpinch · 25:41
- Break Me00 The MoVfuscator Turning mov into a soul crushing RE nightmare Christopher Domas · Adrian Crenshaw · 46:19
- Hey Underscore, You're Doing It Wrong! · InfoQ · 36:30
- A Talk Near the Future of Python (a.k.a., Dave live-codes a WebAssembly Interpreter) · David Beazley · 1:01:45