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.

Nvidia announces native GPU programming in Rust

https://developer.nvidia.com/blog/introducing-cuda-rust-two-tracks-for-writing-gpu-kernels/
202•nonmaskable•13h ago•70 comments

Training a 4B model to produce 81% faster query plans than Postgres

https://rohanbansal.com/qorl
380•polyphilz•6h ago•79 comments

Breaking the 1.58-bit Barrier for Ternary LLMs

https://arxiv.org/abs/2609.16338
129•matt_d•3h ago•15 comments

Xiaomi Mimo 2.6 live post-training dashboard

https://mimo.xiaomi.com/rl/
226•krackers•4h ago•58 comments

Backups Aren't Simple

https://filipovski.net/2026/09/16/backups-arent-simple.html
62•afilipovski•4h ago•23 comments

Small programming tricks

https://will-keleher.com/posts/small-programming-tricks-matter/
384•signa11•8h ago•180 comments

OpenSpec – A lightweight and configurable AI spec framework

https://openspec.dev/
48•etoxin•1h ago•12 comments

The engineering behind the US Strategic Petroleum Reserve

https://johnjwang.com/post/2026/09/15/engineering-behind-us-strategic-petroleum-reserve
82•johnjwang•1d ago•24 comments

Reversing Factorio's RNG

https://gegell.github.io/posts/factorio-rng/
138•jheitmann•4d ago•15 comments

Performance Improvements in .NET 11

https://devblogs.microsoft.com/dotnet/performance-improvements-in-net-11/
145•soheilpro•1d ago•31 comments

Australia says it could follow Canada in forging deeper ties with EU

https://www.independent.co.uk/news/world/australasia/canda-eu-membership-australia-us-trade-b3050...
100•doener•1h ago•43 comments

AWS says it can't restore some data from mideast facilities struck by Iran

https://www.wsj.com/world/middle-east/aws-says-it-cant-restore-some-data-from-mideast-facilities-...
213•berkeleyjunk•1d ago•179 comments

HarnessTax: How Much Does the Harness Matter for Coding Agents?

https://harnesstax.github.io/
16•matt_d•2h ago•3 comments

Reverse-engineered Jev-like model

https://github.com/vinnylarouge/jevlike
68•rochansinha•6h ago•8 comments

Japan's book scene is moving from bookstores to libraries

https://untranslatedjp.substack.com/p/japans-book-scene-is-quietly-moving
99•herbertl•4d ago•35 comments

How good are frontier models at physics?

https://arxiv.org/abs/2609.13009
76•qt31415926•5h ago•36 comments

Show HN: An e-ink frame that hears birds and draws them as 1800s illustrations

https://github.com/arnegiacomo/fugleramme
2067•arnemunthekaas•1d ago•236 comments

Mistral X Mozilla: Private, Multilingual AI Browsing

https://mistral.ai/news/mistral-x-mozilla/
531•vertigoruntime•16h ago•186 comments

Destroy After Reading: photocopiers,cheap paper and DIY gave metal it's look

https://www.truegrittexturesupply.com/blogs/news/destroy-after-reading
15•pigeons•2d ago•2 comments

Anecdotally, programmers dislike "reduce"

https://evanhahn.com/posts/2026-09-13-programmers-dislike-reduce/
83•vinhnx•2d ago•146 comments

Why Does the Universe Expand?

https://cosmicave.org/2026/09/15/why-does-the-universe-expand/
20•the__alchemist•4h ago•9 comments

Accurate Models of AMD Matrix Cores

https://arxiv.org/abs/2609.14845
59•matt_d•5h ago•7 comments

Anatomy of a Texture

https://agentlien.github.io/texture/
73•Agentlien•10h ago•12 comments

Dream-RSI: Recursive Self-Improvement through Evolving Worlds

https://arxiv.org/abs/2609.14858
179•bananaflag•11h ago•49 comments

I replaced my brown-noise browser tab with a menu bar app

https://oldmanrahul.com/2026/09/14/hush/
17•oldmanrahul•11h ago•6 comments

Training Text-to-Image Models 3.6× Faster

https://www.linum.ai/field-notes/jit-ddt
33•schopra909•7h ago•5 comments

Hackers Got Inside a Flock Camera

https://www.wired.com/story/hackers-flock-camera-data-shows-how-system-works/
458•driverdan•11h ago•213 comments

The DeepMind Institute

https://institute.deepmind.com/
138•vertigoruntime•10h ago•43 comments

William Buckland's Theology of Geology

https://www.historytoday.com/archive/great-debates/william-bucklands-theology-geology
4•Petiver•20h ago•0 comments

Vectorized and performance-portable Quicksort (2022)

https://opensource.googleblog.com/2022/06/Vectorized%20and%20performance%20portable%20Quicksort.html
161•mococa•6h ago•27 comments