3 ms·
So Apple has its own browser, its own JIT compiler(1), which emits its own instruction sets, which then run own its own CPUs. Heck let’s propose the JPU (JavaS
by hden 8y ago
So Apple has its own browser, its own JIT compiler(1), which emits its own instruction sets, which then run own its own CPUs.
Heck let’s propose the JPU (JavaScript Processing Unit) for server-side codes.
1. https://webkit.org/blog/5852/introducing-the-b3-jit-compiler/ https://webkit.org/blog/5852/introducing-the-b3-jit-compiler...
- ridiculous_fish 8y agoImagine if Apple had its own operating system running its own static compiler!
- cm2187 8y agoWith the end of Moore’s law, that may be the way forward, making cpus with more of the software implemented in hardware.
- exabrial 8y agoWhat 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.