News for hackers. Stuff that matters.
Re:OpenJDK Proposes Project Galahad to Merge GraalVM Native ... by kaba0 on Wednesday December 21, 2022 @05:58PM (#34087511)
It can run Javascript with similar peak performance than V8 with a tiny tiny fraction of development than what went into the latter. (Of course it is possible only due to it leveraging the many many dev-hours spent on the JVM), it is the fastest Ruby implementation by an integer factor and it can run C dependencies (often used by Python/Ruby) as well, and even optimize across language boundaries.

The smallish list of languages is just due to lack of effort, plus lack of immediate benefits — it is not hard to create an alternative language implementation. It is very hard to create one that is 100% drop-in replaceable with the real thing as every sufficiently complex program will depend on implementation quirks as well.

Re:OpenJDK Proposes Project Galahad to Merge GraalVM Native ... by samus on Wednesday December 21, 2022 @08:38PM (#34088671)
Regarding Javascript: there are at least two or three mature Java implementations out there, and many more non-Java ones. Its inconsistencies and most implementation gotchas are well-known by now. Also, it's a comparatively simple language that has not experienced as much organic growth as Python, Perl, or Ruby.

I am still impressed that it can beat V8 handily without extensive further optimization work in the JVM, but it's not that surprising.