logoalt Hacker News

cogman10 • today at 2:28 PM • 1 reply • view on HN

You can find those JEPs, but frankly they are there for 1 of 2 reasons.

1. An outsider to the regular OpenJDK dev team proposing an optimization.

2. Advertising for a cool new performance tweak with potentially large impact.

You'll also notice that the JEP descriptions are very different from PEP descriptions.

Probably the largest JEP for the JVM, Valhalla

https://openjdk.org/jeps/401

Does not have the same level of requirements being asked of the Python JIT. Further, it's well understood that this JEP will "live on main" for quite some time in preview before it's accepted and merged.

What the JEP does, instead, is simply describe the feature and potential risks.

The vast majority of JVM optimizations do not get a JEP.


Replies

adrian17 • today at 2:39 PM

Fair, I don’t argue with that, I’m not knowledgeable about Java’s processes. Just one thing:

> The vast majority of JVM optimizations do not get a JEP.

In Python too. Still, the JIT really is just a really big thing. I don’t know if there could be a better way to do it, as either 1. You develop it off-branch and… make an enormous PR when you’re done, with risks of getting rejected anyway? Or 2, you allow more experiments on main like Rust, but then you end up with hundreds of minor half-maintained nightly-only features, possibly conflicting with each other, and eventually go through bureaucracy to remove them anyway.

➕ show 1 reply