frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

JEP 515: Ahead-of-Time Method Profiling

https://openjdk.org/jeps/515
101•cempaka•8mo ago

Comments

nmstoker•8mo ago
Would be interesting if the Faster Python team considered this approach for Python (although maybe they already did?)
motoboi•8mo 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•8mo 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•8mo ago
I thought Graal was going to slowly replace HotSpot?
vips7L•8mo ago
There was talk of the graal jit replacing C2, but native image will never replace HotSpot.
mshockwave•8mo 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•8mo ago
Is this similar/the same as Azul Zing’s ReadyNow feature?
rst•8mo 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•8mo 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•8mo 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.

“Erdos problem #728 was solved more or less autonomously by AI”

https://mathstodon.xyz/@tao/115855840223258103
447•cod1r•11h ago•250 comments

Changes to Android Open Source Project

https://source.android.com/
115•TechTechTech•3d ago•67 comments

The Performance Revolution in JavaScript Tooling

https://blog.appsignal.com/2025/12/03/the-performance-revolution-in-javascript-tooling.html
30•PaulHoule•6d ago•14 comments

JavaScript Demos in 140 Characters

https://beta.dwitter.net
252•themanmaran•15h ago•52 comments

Diving into Qualcomm's Upcoming Adreno X2 GPU with Eric Demers

https://chipsandcheese.com/p/diving-into-qualcomms-upcoming-adreno
10•rbanffy•4d ago•1 comments

Oh My Zsh adds bloat

https://rushter.com/blog/zsh-shell/
171•fla•5h ago•159 comments

Start your meetings at 5 minutes past

https://philipotoole.com/start-your-meetings-at-5-minutes-past/
124•otoolep•11h ago•101 comments

Greenland sharks maintain vision for centuries through DNA repair mechanism

https://phys.org/news/2026-01-eye-greenland-sharks-vision-centuries.html
102•pseudolus•3d ago•31 comments

RTX 5090 and Raspberry Pi: Can it game?

https://scottjg.com/posts/2026-01-08-crappy-computer-showdown/
227•scottjg•14h ago•88 comments

How Markdown took over the world

https://www.anildash.com/2026/01/09/how-markdown-took-over-the-world/
264•zdw•16h ago•217 comments

How will the miracle happen today?

https://kk.org/thetechnium/how-will-the-miracle-happen-today/
446•zdw•5d ago•227 comments

Show HN: Rocket Launch and Orbit Simulator

https://www.donutthejedi.com/
124•donutthejedi•14h ago•35 comments

Show HN: Miditui – a terminal app/UI for MIDI composing, mixing, and playback

https://github.com/minimaxir/miditui
43•minimaxir•1d ago•6 comments

Scientists discover oldest poison, on 60k-year-old arrows

https://www.nytimes.com/2026/01/07/science/poison-arrows-south-africa.html
118•noleary•1d ago•45 comments

Cloudflare CEO on the Italy fines

https://twitter.com/eastdakota/status/2009654937303896492
530•sidcool•17h ago•719 comments

Alien: Braun Aromaster KF 20 Coffee Makers (2012)

http://alienexplorations.blogspot.com/1979/05/kf-20-coffee-making-machine.html
34•exvi•1w ago•5 comments

OLED, Not for Me

https://nuxx.net/blog/2026/01/09/oled-not-for-me/
108•c0nsumer•6h ago•101 comments

My article on why AI is great (or terrible) or how to use it

https://matthewrocklin.com/ai-zealotry/
112•akshayka•15h ago•179 comments

Show HN: Scroll Wikipedia like TikTok

https://quack.sdan.io
246•sdan•15h ago•61 comments

Samsung Galaxy Z TriFold hands-on

https://mashable.com/article/samsung-galaxy-z-trifold-hands-on-ces-2026
4•kristianp•2d ago•0 comments

How to code Claude Code in 200 lines of code

https://www.mihaileric.com/The-Emperor-Has-No-Clothes/
756•nutellalover•1d ago•231 comments

The likely cheapest home-made Michelson interferometer

https://guille.site/posts/3d-printed-michelson/
98•LolWolf•5d ago•58 comments

Kagi releases alpha version of Orion for Linux

https://help.kagi.com/orion/misc/linux-status.html
387•HelloUsername•21h ago•273 comments

Favorite Tech Museums

https://aresluna.org/fav-tech-museums/
53•justincormack•4d ago•27 comments

How to store a chess position in 26 bytes (2022)

https://ezzeriesa.notion.site/How-to-store-a-chess-position-in-26-bytes-using-bit-level-magic-df1...
102•kurinikku•18h ago•81 comments

Robotopia: A 3D, first-person, talking simulator

https://elbowgreasegames.substack.com/p/introducing-robotopia-a-3d-first
56•psawaya•1d ago•18 comments

Flock Hardcoded the Password for America's Surveillance Infrastructure 53 Times

https://nexanet.ai/blog/53-times-flocksafety-hardcoded-the-password-for-americas-surveillance-inf...
437•fuck_flock•17h ago•142 comments

Show HN: I made a memory game to teach you to play piano by ear

https://lend-me-your-ears.specr.net
469•vunderba•16h ago•163 comments

Sigmund Freud's Begonia

https://observer.co.uk/news/first-person/article/emma-freud-sigmund-freuds-begonia
26•dang•12h ago•7 comments

Show HN: Similarity = cosine(your_GitHub_stars, Karpathy) Client-side

https://puzer.github.io/github_recommender/
139•puzer•3d ago•37 comments