4 ms·
Google hired all the best JIT engineers and set them to work on v8. If you want better performance you'd have to choose an AOT compiled language.
by zarzavat 2y ago
Google hired all the best JIT engineers and set them to work on v8. If you want better performance you'd have to choose an AOT compiled language.
- Lio 2y agoThat seems like a meme from 10 years ago. I don’t think that’s really true anymore is it? I mean Truffle Ruby is as fast as V8 already and MRI yJIT and jRuby are catching up fast. It could also be argued that JVM is the gold standard JIT. I think that shows that Google doesn’t have a monopoly on great JIT engineers.
- masklinn 2y ago> I mean Truffle Ruby is as fast as V8 already v8 and node are 15 years old. That's when this actually mattered and js on the backend took off.
- attractivechaos 2y ago> Truffle Ruby is as fast as V8 already and MRI yJIT and jRuby are catching up fast According to which benchmark? At my hand [1], node is ~60% faster than TruffleRuby and over an order of magnitude faster than yjit v3.3.0. [1] https://github.com/attractivechaos/plb2?tab=readme-ov-file#appendix-timing-on-apple-m1-macbook-pro https://github.com/attractivechaos/plb2?tab=readme-ov-file#a...
- neonsunset 2y agoOpenJDK HotSpot and .NET RyuJIT both produce much faster code :) And the latter lets you operate on the same level of abstraction as Rust and C++ compilers do.
- dismalaf 2y ago> OpenJDK HotSpot and .NET RyuJIT both produce much faster code :) For dynamic languages? Stuff like Clojure, JRuby, Boo, are definitely not faster than V8 JavaScript...
- petre 2y agoGoogle also made Dart which is better than Js in every regard.