frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

JEP 515: Ahead-of-Time Method Profiling

https://openjdk.org/jeps/515
101•cempaka•1y ago

Comments

nmstoker•1y ago
Would be interesting if the Faster Python team considered this approach for Python (although maybe they already did?)
motoboi•1y ago
The most impact will be achieved on java standard library, like Streams (cited in the article). Right now, although their behavior is well stablished and they are mostly used in the "factory" mode (no user subclassing or implementation of the stream api), they cannot be shipped with the JVM already compiled.

If you can find a way (which this JEP is one way) to make the bulk of the java standard api AOT compiled, then java programs will be faster (much faster).

Also, the JVM is already an engine marvel (java JIT code is fast as hell), but this will make java programs much nimbler.

rzwitserloot•1y ago
I assume you meant with the AOT argument: "The initial few minutes of a JVM's existence, which would be the entire lifetime if you're using java the way you use e.g. your average executable in your `/usr/bin` dir".

Saying "java programs will be faster" is perhaps a bit misleading to those who don't know how java works. This will speed up only the first moments of a JVM execution, nothing more. Or, I misread the JEP, in which case I'd owe you one if you can explain what I missed.

As a java developer this will be lightly convenient when developing. We go through JVM warmup a lot more than your average user ever does. Personally I think I'm on the low end (I like debuggers, and I don't use TDD-style "what I work on is dictated by a unit test run and thus I rerun the tests a lot during development". But still it excites me somewhat, so that should mean your average java dev should be excited quite a bit by this.

I am not all that experienced in it, but I gather that lambda-style java deployments (self contained simple apps that run on demand and could in theory be operating on a 'lets boot up a JVM to run this tiny job which won't last more than half a second') have looong ago moved on from actually booting JVMs for every job, such as by using Graal, an existing AOT tool. But if you weren't using those, hoo boy. This gives every java app 'graal level bootup' for as far as I can tell effectively free (a smidge of disk space to store the profile).

For the kinds of java deployments I'm more familiar with (a server that boots as the box boots and stays running until a reboot is needed to update deps or the app itself), this probably won't cause a noticable performance boost.

indolering•1y ago
I thought Graal was going to slowly replace HotSpot?
vips7L•1y ago
There was talk of the graal jit replacing C2, but native image will never replace HotSpot.
mshockwave•1y ago
in addition to storing profiles, what about caching some native code? so that we can eliminate the JIT overhead for hot functions

EDIT: they describe this in their "Alternative" section as future work

tikkabhuna•1y ago
Is this similar/the same as Azul Zing’s ReadyNow feature?
rst•1y ago
Faint echoes of the very first optimizing compiler, Fortran I, which did a monte carlo simulation of the flow graph to attempt to detect hot spots in the flow graph so it could allocate registers to inner loops first.
indolering•1y ago
OpenJ9 has had some of this type of functionality for a while now. Glad to see the difference between interpreted and compiled languages continue to get fuzzier.
pjmlp•1y ago
Even longer than that, OpenJ9 AOT capabilities, and JIT cache, go back to the Websphere Real-Time JVM, whose branding had nothing to do with J2EE application server.

Most documentation is gone from the Internet, I was able to dig one of the old manuals,

https://ftpmirror.your.org/pub/misc/ftp.software.ibm.com/sof...

These kind of features have been available in commercial JVMs like those for a while now, what the community is finally getting are free beer versions of such capabilities.

Ruff v0.16.0 – Significant new updates – 413 default rules up from 59

https://astral.sh/blog/ruff-v0.16.0
134•vismit2000•3h ago•72 comments

Third Drone Shot Down in Three Days in Romanian Territory

https://english.mapn.ro/
19•_tk_•41m ago•0 comments

A shell colon does nothing. Use it anyway

https://refp.se/articles/your-shell-and-the-magic-colon
260•olexsmir•23h ago•103 comments

GrapheneOS protections against data extraction from locked devices

https://discuss.grapheneos.org/d/40700-grapheneos-protections-against-data-extraction-from-locked...
143•Cider9986•6h ago•73 comments

Systemd Linger

https://etbe.coker.com.au/2026/07/24/systemd-linger/
20•edward•2h ago•8 comments

German Peasants' War

https://en.wikipedia.org/wiki/German_Peasants%27_War
30•constantius•3d ago•20 comments

An ESP32 based plane radar for my desk

https://blog.ktz.me/esp32-plane-radar/
182•alexktz•10h ago•37 comments

The new rules of context engineering for Claude 5 generation models

https://claude.com/blog/the-new-rules-of-context-engineering-for-claude-5-generation-models
367•mellosouls•16h ago•260 comments

DeepSeek pause fundraise after comments on compute gap to US leaked (transcript) [pdf]

https://github.com/demo-zexuan/liang-wenfeng-investor-meeting-2026-7-22/blob/master/%E6%A2%81%E6%...
185•oliculipolicula•13h ago•137 comments

Inflect-Micro-v2: complete voice in 9.36M parameters

https://huggingface.co/owensong/Inflect-Micro-v2
153•nateb2022•12h ago•11 comments

Show HN: I mapped every US golf course

https://golfcoursebrowser.com/
154•rickmf•10h ago•93 comments

Claude Code Deletes Your Context History from Your Device After 30 Days

https://code.claude.com/docs/en/data-usage
4•espeed•2h ago•0 comments

Alien World Chemistry Found Inside Meteorite That Struck New Jersey Home

https://www.seti.org/news/alien-world-chemistry-found-inside-meteorite/
93•spzx•11h ago•28 comments

Stinkpot: SQLite-backed shell history

https://tangled.org/oppi.li/stinkpot
80•nerdypepper•1d ago•23 comments

Cloudflare's new AI traffic options for customers

https://blog.cloudflare.com/content-independence-day-ai-options/
139•alphabetatango•13h ago•121 comments

Git rebase -I is not that scary

https://cachebag.sh/journal/interactive-rebasing/
85•vinhnx•12h ago•100 comments

Running a 28.9M parameter LLM on an $8 microcontroller

https://github.com/slvDev/esp32-ai
219•boveyking•17h ago•51 comments

What is happening to jobs? Separating AI hype from reality

https://siepr.stanford.edu/publications/policy-brief/what-really-happening-jobs-separating-ai-hyp...
123•pod_krad•13h ago•165 comments

Overloaded Overloading

https://powerfulpython.com/blog/overloaded-overloading/
24•redsymbol•4d ago•6 comments

Rethinking Legal Education in the AI Era

https://www.law.uchicago.edu/news/ai-strategy-statement
91•jjwiseman•2d ago•53 comments

LLM Usage in Debian: Three Proposals

https://www.debian.org/vote/2026/vote_002
176•zdw•16h ago•158 comments

DskDitto: Ultra-fast, parallel duplicate-file detector

https://github.com/jdefrancesco/dskDitto
31•ingve•4d ago•6 comments

I wouldn't say Pangram is broken, but I would say that it's brittle

https://freddiedeboer.substack.com/p/i-wouldnt-say-pangram-is-broken-but
15•antigizmo•2d ago•3 comments

Elevated Errors for Opus 5

https://status.claude.com/incidents/zftg3gqkmv18
47•TimCTRL•3h ago•46 comments

Clinical failure rates over the decades: yikes

https://www.science.org/content/blog-post/clinical-failure-rates-over-decades-yikes
109•EA-3167•13h ago•90 comments

JetZero

https://www.jetzero.aero
211•lisper•9h ago•192 comments

SIMD for Collision

https://box2d.org/posts/2026/07/simd-for-collision/
109•birdculture•3d ago•29 comments

Systems and Delays

https://martin.janiczek.cz/2026/07/24/systems-and-delays.html
67•vinhnx•12h ago•15 comments

No Stack Overflow, No Autocomplete: What Coding Felt Like in the 80s

https://comuniq.xyz/post?t=1439
33•01-_-•2h ago•23 comments

Some more things about Django I've been enjoying

https://jvns.ca/blog/2026/07/21/more-nice-django-things/
67•surprisetalk•4d ago•34 comments