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.

Embedded Rust or C Firmware? Lessons from an Industrial Microcontroller Use Case

https://arxiv.org/abs/2604.25679
54•mrtz•2d ago•25 comments

Show HN: Apple's Sharp Running in the Browser via ONNX Runtime Web

https://github.com/bring-shrubbery/ml-sharp-web
85•bring-shrubbery•5h ago•12 comments

Group averages obscure how an individual's brain controls behavior: study

https://med.stanford.edu/news/all-news/2026/04/brain-scans-individual-versus-group.html
60•hhs•2d ago•8 comments

A couple million lines of Haskell: Production engineering at Mercury

https://blog.haskell.org/a-couple-million-lines-of-haskell/
317•unignorant•14h ago•147 comments

This Month in Ladybird – April 2026

https://ladybird.org/newsletter/2026-04-30/
417•richardboegli•17h ago•106 comments

Six Years Perfecting Maps on WatchOS

https://www.david-smith.org/blog/2026/04/29/maps-on-watchos/
377•valzevul•17h ago•88 comments

Dav2d

https://code.videolan.org/videolan/dav2d
538•dabinat•21h ago•150 comments

Windows quality update: Progress we've made since March

https://blogs.windows.com/windows-insider/2026/05/01/windows-quality-update-progress-weve-made-si...
96•jovial_cavalier•1d ago•282 comments

Do_not_track

https://donottrack.sh/
411•RubyGuy•20h ago•127 comments

Neanderthals ran 'fat factories' 125,000 years ago (2025)

https://www.universiteitleiden.nl/en/news/2025/07/neanderthals-ran-fat-factories-125000-years-ago
238•andsoitis•17h ago•123 comments

Utilyze measures how efficiently your GPU is doing useful work

https://github.com/systalyze/utilyze
26•nateb2022•2d ago•4 comments

Unverified Evaluations in Dusk's PLONK

https://osec.io/blog/2026-04-30-unverified-evaluations-dusk-plonk/
29•deut-erium•2d ago•4 comments

Care homes and hotels in Japan shut as expansion strategy unravels

https://www.newsonjapan.com/article/149075.php
72•mikhael•12h ago•23 comments

Specsmaxxing – On overcoming AI psychosis, and why I write specs in YAML

https://acai.sh/blog/specsmaxxing
188•brendanmc6•7h ago•209 comments

Inventions for battery reuse and recycling increase seven-fold in last decade

https://www.epo.org/en/news-events/news/inventions-battery-reuse-and-recycling-increase-more-seve...
216•JeanKage•3d ago•24 comments

VS Code inserting 'Co-Authored-by Copilot' into commits regardless of usage

https://github.com/microsoft/vscode/pull/310226
1335•indrora•18h ago•708 comments

Haskell: Debugging

https://wiki.haskell.org/Debugging
5•tosh•2d ago•0 comments

The agent harness belongs outside the sandbox

https://www.mendral.com/blog/agent-harness-belongs-outside-sandbox
125•shad42•17h ago•91 comments

Systemd-manager-TUI: A TUI application for managing systemd services

https://github.com/Matheus-git/systemd-manager-tui
43•thunderbong•3h ago•13 comments

Clojurists Together – Q2 2026 Open Source Funding Announcement

https://www.clojuriststogether.org/news/q2-2026-funding-announcement/
120•dragandj•16h ago•14 comments

A more efficient implementation of Shor's algorithm

https://lwn.net/Articles/1066156/
97•signa11•2d ago•26 comments

How fast is a macOS VM, and how small could it be?

https://eclecticlight.co/2026/05/02/how-fast-is-a-macos-vm-and-how-small-could-it-be/
255•moosia•1d ago•96 comments

Benchmarking a Bug Scanner

https://blog.detail.dev/posts/bug-scanner/
11•drob•2d ago•6 comments

A physics engine with incremental rollback for multiplayer games

https://easel.games/blog/2026-rollback-physics
103•BSTRhino•1d ago•37 comments

Because it doesn't have to

https://blog.computationalcomplexity.org/2026/04/because-it-doesnt-have-to.html
64•zdw•3d ago•13 comments

Investors pile into clean energy as Iran war drives push for energy security

https://www.ft.com/content/9921f2b5-c910-4cec-a50f-cad453935a1a
88•JumpCrisscross•5h ago•96 comments

AI, Intimacy, and the Data You Never Meant to Share

https://fshot.org/techzone/the-algorithm-knows.php
54•victorkulla•11h ago•2 comments

DeepSeek V4 – almost on the frontier

https://simonwillison.net/2026/Apr/24/deepseek-v4/
574•indigodaddy•1d ago•345 comments

The USB Situation

https://randsinrepose.com/archives/the-usb-situation/
141•herbertl•3d ago•193 comments

Show HN: State of the Art of Coding Models, According to Hacker News Commenters

https://hnup.date/hn-sota
131•yunusabd•17h ago•76 comments