2 ms·
What I find most interesting about that link is this: > The FTL JIT was designed as a marriage between a high-level optimizing compiler that inferred types and
by exabrial 8y ago
What I find most interesting about that link is this:
> 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.
- olliej 8y agoBecause JavaScript does not have types? 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.