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•11mo ago

Comments

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

An update on recent Claude Code quality reports

https://www.anthropic.com/engineering/april-23-postmortem
145•mfiguiere•51m ago•73 comments

Introducing GPT-5.5

https://openai.com/index/introducing-gpt-5-5/
271•rd•38m ago•85 comments

Bitwarden CLI compromised in ongoing Checkmarx supply chain campaign

https://socket.dev/blog/bitwarden-cli-compromised
400•tosh•4h ago•193 comments

'Hairdryer used to trick weather sensor' to win $34,000 Polymarket bet

https://www.telegraph.co.uk/business/2026/04/23/hairdryer-used-trick-weather-sensor-34000-polymar...
171•zdw•1h ago•152 comments

Incident with Multple GitHub Services

https://www.githubstatus.com/incidents/myrbk7jvvs6p
94•bwannasek•2h ago•52 comments

MeshCore development team splits over trademark dispute and AI-generated code

https://blog.meshcore.io/2026/04/23/the-split
40•wielebny•1h ago•18 comments

French government agency confirms breach as hacker offers to sell data

https://www.bleepingcomputer.com/news/security/french-govt-agency-confirms-breach-as-hacker-offer...
282•robtherobber•2h ago•98 comments

A DIY Watch You Can Actually Wear

https://www.hackster.io/news/a-diy-watch-you-can-actually-wear-8f91c2dac682
67•sarusso•2d ago•33 comments

I am building a cloud

https://crawshaw.io/blog/building-a-cloud
850•bumbledraven•13h ago•432 comments

Show HN: Honker – Postgres NOTIFY/LISTEN Semantics for SQLite

https://github.com/russellromney/honker
178•russellthehippo•6h ago•26 comments

Your hex editor should color-code bytes

https://simonomi.dev/blog/color-code-your-bytes/
409•tobr•2d ago•119 comments

Palantir Employees Are Starting to Wonder If They're the Bad Guys

https://www.wired.com/story/palantir-employees-are-starting-to-wonder-if-theyre-the-bad-guys/
94•pavel_lishin•1h ago•58 comments

Apple fixes bug that cops used to extract deleted chat messages from iPhones

https://techcrunch.com/2026/04/22/apple-fixes-bug-that-cops-used-to-extract-deleted-chat-messages...
795•cdrnsf•22h ago•179 comments

To Protect and Swerve: NYPD Cop Has 547 Speeding Tickets

https://nyc.streetsblog.org/2026/04/23/to-protect-and-swerve-nypd-cop-has-527-speeding-tickets-ye...
158•greedo•3h ago•105 comments

I spent years trying to make CSS states predictable

https://tenphi.me/blog/why-i-spent-years-trying-to-make-css-states-predictable/
6•tenphi•6h ago•0 comments

If America's so rich, how'd it get so sad?

https://www.derekthompson.org/p/if-americas-so-rich-howd-it-get-so
185•momentmaker•2h ago•348 comments

Writing a C Compiler, in Zig (2025)

https://ar-ms.me/thoughts/c-compiler-1-zig/
98•tosh•9h ago•33 comments

We found a stable Firefox identifier linking all your private Tor identities

https://fingerprint.com/blog/firefox-tor-indexeddb-privacy-vulnerability/
868•danpinto•1d ago•261 comments

Jiga (YC W21) Is Hiring

https://jiga.io/about-us/
1•grmmph•6h ago

Investigation uncovers two sophisticated telecom surveillance campaigns

https://techcrunch.com/2026/04/23/surveillance-vendors-caught-abusing-access-to-telcos-to-track-p...
335•mentalgear•6h ago•116 comments

A Renaissance gambling dispute spawned probability theory

https://www.scientificamerican.com/article/how-a-renaissance-gambling-dispute-spawned-probability...
70•sohkamyung•2d ago•10 comments

Arch Linux Now Has a Bit-for-Bit Reproducible Docker Image

https://antiz.fr/blog/archlinux-now-has-a-reproducible-docker-image/
241•maxloh•16h ago•85 comments

Alberta startup sells no-tech tractors for half price

https://wheelfront.com/this-alberta-startup-sells-no-tech-tractors-for-half-price/
2063•Kaibeezy•1d ago•709 comments

5x5 Pixel font for tiny screens

https://maurycyz.com/projects/mcufont/
773•zdw•4d ago•151 comments

People Do Not Yearn for Automation

https://www.theverge.com/podcast/917029/software-brain-ai-backlash-databases-automation
21•icco•1h ago•10 comments

Isopods of the world

https://isopod.site/
112•debesyla•2d ago•45 comments

Our newsroom AI policy

https://arstechnica.com/staff/2026/04/our-newsroom-ai-policy/
163•zdw•13h ago•108 comments

A History of Erasures Learning to Write Like Leylâ Erbil

https://thepointmag.com/criticism/a-history-of-erasures/
25•lermontov•3d ago•1 comments

Raylib v6.0

https://github.com/raysan5/raylib/releases/tag/6.0
168•rydgel•6h ago•25 comments

A True Life Hack: What Physical 'Life Force' Turns Biology's Wheels?

https://www.quantamagazine.org/what-physical-life-force-turns-biologys-wheels-20260420/
169•Prof_Sigmund•2d ago•40 comments