|
|
|
|
|
by jaredklewis
2768 days ago
|
|
Not sure I follow. Glimmer compiles to bytecode, but I am not sure how that “bypass[es] JavaScript parsing” as the bytecode is evaluated by a runtime written in JS (which is obviously parsed) and that translates the bytecode into JS calls. Basically one type of parsing has been replaced with another, which is fine though not obviously faster. Likewise, I don’t see the point with Vue since again vue templates are translated into JS calls. Or you could just make JS calls, like React does, no runtime translation required. |
|
It’s not obviously faster, but it’s been benchmarked to be faster. https://youtu.be/nXCSloXZ-wc
You can skip to 29:34 for the performance demo.