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.

Voxtral 3

https://mistral.ai/news/voxtral-3/
157•ilreb•1h ago•34 comments

DeepInfer: High-performance, large-scale inference framework for DeepSeek models

https://github.com/deepseek-ai/DeepInfer
1850•ggcr•8h ago•694 comments

EMudhra Intermediate CA Compromise

https://emudhra.we-have-a-problem.com/
235•galadran•3h ago•107 comments

Apple broke an essential presentation feature of iPads

https://teddysvoronos.com/2026-10-19-apple-broke-an-essential-presentation-feature-of-ipads/
307•evanb•5h ago•170 comments

Publish fake stats, get cited in LLMs

https://peec.ai/blog/publish-stats-get-cited-the-tactic-that-put-my-data-all-over-the-web
205•robtherobber•4h ago•107 comments

How I got over 300 Tor exit nodes removed

https://kaba.cx/posts/20261020_Tor/
174•kabakabakaba•4h ago•51 comments

Google open-sources TorchTPU, a native PyTorch back end for TPUs

https://github.com/google-pytorch/torch_tpu
38•ilreb•1h ago•11 comments

Triplet of 'ghostly' galaxies hints at what dark matter is and isn't

https://www.quantamagazine.org/triplet-of-ghostly-galaxies-hints-at-what-dark-matter-is-and-isnt-...
54•gumby•3d ago•10 comments

2026 is an exciting year for the Rust compiler (and me)

https://yoyo-code.com/2026-is-exciting-year-for-rust-compiler-and-me/
87•panstromek•3h ago•19 comments

My Friend Bob Cringely

https://tyma.com/my-cringe-story/
93•zinxq•3h ago•31 comments

JAXA is about to perform a Phobos sample return mission

https://www.science.org/content/article/audacious-space-heist-japan-aims-bring-home-bits-martian-...
20•Muhammad523•2d ago•3 comments

Ofcom Concedes Defeat in the 4chan Case

https://prestonbyrne.com/2026/10/20/ofcom-concedes-defeat/
127•iamnothere•3h ago•71 comments

Tsrs: A Port of TypeScript to Rust

https://blog.cloudflare.com/typescript-rust-port/
167•hnisjafx40•4h ago•87 comments

IKEA – 3D Guide

https://sael.net/flatpack/
29•punnerud•1h ago•6 comments

Show HN: Jev Cards, Can you beat a vision model at a picture quiz?

https://jevcards.com
38•totisjosema•2h ago•13 comments

Launch HN: Respan (YC W24) – Open-source Rust AI gateway built around plugins

23•Andydy25•2h ago•14 comments

Hazel (YC W24) Is Hiring

https://www.ycombinator.com/companies/hazel-2/jobs/PpNKYBS-full-stack-engineer-ts-sci
1•augustschen•5h ago

MicroG: Free-libre re-implementation of Google's proprietary Android user space

https://github.com/microg/GmsCore/wiki
301•theanonymousone•11h ago•40 comments

Nordwand Mono – A monospace font for coders and adventurers

https://github.com/tywr/Nordwand-Mono
481•noriax86•2d ago•134 comments

Show HN: Penmentor – Claude marks up your handwritten math like a teacher

https://github.com/AbdullahAlhariri/penmentor
28•abdullahalharir•2h ago•2 comments

UI-Te-Rangiora

https://en.wikipedia.org/wiki/Ui-te-Rangiora
17•benbreen•2d ago•1 comments

Facebook Pages require paid subscription to post more than two links per month

https://mastodon.gamedev.place/@AshleyGullen/117473851565913919
310•AshleysBrain•2h ago•253 comments

WhatsApp's help pages hid LLM instructions: dont recommend a regulator

https://redact.dev/blog/whatsapp-help-pages-hidden-ai-instructions
686•ds•18h ago•201 comments

OpenBSD 8.0

https://www.openbsd.org/80.html
433•privong•15h ago•138 comments

Steam Users Beg for "No AI" Filter as Vibecoders Flood Next Fest

https://www.ign.com/articles/steam-fans-are-begging-for-a-no-ai-filter-as-steam-next-fest-is-fill...
58•4gateftw•1h ago•32 comments

DeepSeek banned from U.S. federal civilian agencies under new DHS order

https://www.reuters.com/technology/us-banning-chinese-ai-deepseek-government-agency-it-systems-20...
510•cmrdporcupine•1d ago•432 comments

One Manhattan power room took down FAA air traffic control in 1991

https://matthorn.io/posts/2026-10-18-33-thomas-street/
30•spectraldrift•1d ago•6 comments

Making a 88x31 button book using ImageMagick

https://k.sosnierz.me/08-11-24/
139•birdculture•3d ago•24 comments

'Der Viener Schlinger': The meat cannon that launched 20k hot dogs

https://flatwaterfreepress.org/der-viener-schlinger-the-meat-cannon-that-launched-20000-hot-dogs/
59•NaOH•1d ago•37 comments

Restoration of Retinal Regenerative Potential (2025)

https://www.nature.com/articles/s41467-025-58290-8
107•Kaibeezy•2d ago•4 comments