by hden · 8y ago · 0 comments
Heck let’s propose the JPU (JavaScript Processing Unit) for server-side codes.
1. https://webkit.org/blog/5852/introducing-the-b3-jit-compiler...
> The FTL JIT was designed as a marriage between a high-level optimizing compiler that inferred types and optimized away type checks
Why not just use types in your language? It's not that difficult and makes a massive performance increase.
What you’re essentially asking is: why are you supporting JavaScript?
Also a lot of those optimizations occur in jits for statically types languages. Because many of the optimizations are functionally equivalent to “static” language ideas like devirtualisation and the like.