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.

Show HN: HackerBooks – HackerTube, but for books mentioned on HN

https://hackerbooks.org
1017•roansh•11h ago•192 comments

F/OSS Comics #13: BSD Unix, Part 3 – The Beginning of BSD Unix

https://fosscomics.com/posts/13.%20BSD%20Unix%20Part%203%20-%20The%20Beginning%20of%20BSD%20Unix/
17•joonehur•1h ago•2 comments

Postgres 19 is late because so many more bugs are being found now

http://rhaas.blogspot.com/2026/10/postgres-19-is-late-and-its-ais-fault.html
126•soheilpro•2d ago•82 comments

HackerTube: YouTube built from videos recommended by HN

https://karpathy.bearblog.dev/hacker-tube/
2343•karpathy•1d ago•544 comments

Ask HN: Which TV do you recommend for privacy?

182•LecroJS•7h ago•342 comments

Nibnib: Image compression with extreme decompression speed

https://github.com/raphlinus/nibnib
111•raphlinus•2d ago•19 comments

Mystery of 60-Second Fluctuations in Power Grids Solved

https://www.fz-juelich.de/en/news/archive/press-release/2026/mystery-of-60-second-fluctuations-in...
26•_Microft•1d ago•4 comments

Tips for more effective fuzz testing with AFL++

https://nullprogram.com/blog/2025/02/05/
88•luu•4d ago•14 comments

Trigger.dev customer environment variables exposed

https://trigger.dev/blog/security-incident-nov-2026
14•anurag•2h ago•1 comments

OccupySaaS

https://occupysaas.com/
98•misswaterfairy•3h ago•64 comments

Copper – A minimal low-level programming language with OOP and generics

https://tibleiz.net/copper/
141•bogdanoff_2•2d ago•77 comments

Show HN: OmniDiff – Opensource, super fast, content aware Git difftool, in Rust

https://github.com/ivankovic/omnidiff
179•FabCH•14h ago•44 comments

New 3D thermal invisibility cloak makes objects disappear from infrared cameras

https://www.sciencedaily.com/releases/2026/10/261025073051.htm
55•stevenalowe•3d ago•26 comments

Mathematics has changed. Let's act like it

https://terrytao.wordpress.com/2026/11/01/mathematics-has-changed-lets-act-like-it/
242•smilelamp•9h ago•267 comments

Proving and improving the Platonic Representation Hypothesis with JEPAs

https://arxiv.org/abs/2610.39302
119•Anon84•14h ago•63 comments

AI fan wikis riddled with errors are muddying the waters of games culture

https://www.eurogamer.net/ai-fan-wikis-errors-complicating-games-culture
23•rdmuser•1h ago•9 comments

Keeping Up Appearances – The women taking over the funeral industry

https://lareviewofbooks.org/article/death-industry-mortuary-programs-women-andie-eisen-quarterly/
29•TMWNN•2d ago•11 comments

The AI cost of JavaScript frameworks

https://nolanlawson.com/2026/10/28/the-ai-cost-of-javascript-frameworks/
316•luu•21h ago•234 comments

Lenovo's 'encrypted' fingerprint USB is just an unencrypted SD card in a case

https://www.reddit.com/r/technology/comments/1xl2pr3/lenovos_encrypted_fingerprint_usb_drive_is_j...
414•entryleveljobsc•12h ago•149 comments

One-minute frequency disturbances from synchronization in power systems

https://www.nature.com/articles/s41560-026-02144-0
128•croes•1d ago•44 comments

Bidirectional charging during grid outages

https://www.jefftk.com/p/bidirectional-charging-during-grid-outages
90•luu•1d ago•131 comments

The She-Wolves of Jülich

https://www.historytoday.com/archive/history-matters/she-wolves-julich
17•Thevet•1d ago•2 comments

Radiation Map of the World

https://radiaverse.com/
139•slater•4d ago•44 comments

Novellas with Groff

https://movq.de/blog/postings/2026-10-31/0/POSTING-en.html
115•dverlaeckt80•13h ago•50 comments

Show HN: Point your camera at a landscape to learn about its geology

https://outcrop.rocks/
161•headsupernova•3d ago•38 comments

Show HN: I rebuilt my old canvas 3D library as a small WebGL 2 library – phoria2

https://kevs3d.co.uk/phoria2/
78•kevs3d•1d ago•12 comments

Seoul Viosys begins production of rare-earth-free white light emitter

https://www.semiconductor-today.com/news_items/2026/oct/seoul-291026.shtml
146•gmays•11h ago•38 comments

Parchment Paper History: How We Got Paper Perfect for Baking (2019)

https://tedium.co/2019/11/21/nonstick-parchment-paper-history/
43•colinprince•1d ago•21 comments

Domain hacks with unusual Unicode characters (2018)

https://shkspr.mobi/blog/2018/11/domain-hacks-with-unusual-unicode-characters/
61•n_plus_1_acc•16h ago•48 comments

An Italian farmer found some unknown seeds in his attic and planted them

https://www.smithsonianmag.com/science-nature/italian-farmer-found-unknown-seeds-attic-with-nothi...
776•ecares•1d ago•203 comments