Re:Virtual DOM is pure overhead (2018)
by slver on Tuesday June 29, 2021 @12:48PM
(#27678452)
> The irony is that Svelte compiles code that will then run on a JIT under a JavaScript engine. That’s strictly overhead.
Modern software commonly goes through multiple transformation (compilation stages) and it's increasingly common for some of them to be AOT, and some to be JIT, and neither AOT or JIT is overhead, even in combination. They have different pros/cons and in fact together you get the best of both worlds.
This doesn't negate your main point, but I wish you didn't end with an example of "irony" that actually is incorrect.
Modern software commonly goes through multiple transformation (compilation stages) and it's increasingly common for some of them to be AOT, and some to be JIT, and neither AOT or JIT is overhead, even in combination. They have different pros/cons and in fact together you get the best of both worlds.
This doesn't negate your main point, but I wish you didn't end with an example of "irony" that actually is incorrect.