4 ms·
The author is writing the compiler (and modifying it to make these changes). What do you mean exactly?
by sambe 10y ago
The author is writing the compiler (and modifying it to make these changes). What do you mean exactly?
- gravypod 10y agoI'm just wowed by this not already being part of V8. What else have they been doing? I know that V8 has some amazing performance characteristics and if they aren't from doing things that C compilers have been doing for years, then what are these speed boosts coming from?
- sambe 10y agoIt might help to read a bit more closely. A lot of the optimisations being discussed were already added years ago; the point is that they are not as useful in real-world usage as they are in benchmarks (or, in fact, disadvantageous). JIT compiling a highly dynamic language is quite a different task than AOT compiling a statically typed language. Bit-twiddling tricks are unlikely to be the biggest concern. Try starting with the obvious like https://en.wikipedia.org/wiki/Just-in-time_compilation https://en.wikipedia.org/wiki/Just-in-time_compilation