Hacker News new | past | comments | ask | show | jobs | submit login

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.





OpenJDK 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.


> 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...


That 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.


> 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#a...


> 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.


Google also made Dart which is better than Js in every regard.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: