logoalt Hacker News

adrian17 • today at 2:19 PM • 1 reply • view on HN

> Imagine, for example, if the JVM needed a bunch of JEPs for JIT improvements.

FWIW, I definitely can find a bunch of both PEPs and JEPs for internal optimizations, random examples:

https://peps.python.org/pep-0509/

https://openjdk.org/jeps/147


Replies

cogman10 • today at 2:28 PM

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.

➕ show 1 reply