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

Comments

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

RuBee

https://computer.rip/2025-11-22-RuBee.html
91•Sniffnoy•3h ago•6 comments

The Cloudflare outage was a good thing

https://gist.github.com/jbreckmckye/32587f2907e473dd06d68b0362fb0048
76•radeeyate•3h ago•43 comments

Fran Sans – font inspired by San Francisco light rail displays

https://emilysneddon.com/fran-sans-essay
781•ChrisArchitect•11h ago•103 comments

Ask HN: Hearing aid wearers, what's hot?

111•pugworthy•3h ago•41 comments

The Rust Performance Book (2020)

https://nnethercote.github.io/perf-book/
60•vinhnx•4d ago•5 comments

We stopped roadmap work for a week and fixed 189 bugs

https://lalitm.com/fixits-are-good-for-the-soul/
116•signa11•3h ago•80 comments

Disney Lost Roger Rabbit

https://pluralistic.net/2025/11/18/im-not-bad/
55•leephillips•5d ago•3 comments

Having Fun with Complex Numbers: A Real-Life Journey for Upper Elementary Studen

https://mathwonder.org/Having-Fun-with-Complex-Numbers/
16•smm16r•5d ago•6 comments

Native Secure Enclave backed SSH keys on macOS

https://gist.github.com/arianvp/5f59f1783e3eaf1a2d4cd8e952bb4acf
357•arianvanp•12h ago•150 comments

New magnetic component discovered in the Faraday effect after nearly 2 centuries

https://phys.org/news/2025-11-magnetic-component-faraday-effect-centuries.html
112•rbanffy•4d ago•29 comments

µcad: New open source programming language that can generate 2D sketches and 3D

https://microcad.xyz/
136•todsacerdoti•9h ago•38 comments

Japan's gamble to turn island of Hokkaido into global chip hub

https://www.bbc.com/news/articles/c8676qpxgnqo
21•1659447091•3h ago•8 comments

A free tool that stuns LLMs with thousands of invisible Unicode characters

https://gibberifier.com
29•wdpatti•3h ago•14 comments

Passing the Torch – My Last Root DNSSEC KSK Ceremony as Crypto Officer 4

https://technotes.seastrom.com/2025/11/23/passing-the-torch.html
35•greyface-•4h ago•6 comments

Calculus for Mathematicians, Computer Scientists, and Physicists [pdf]

https://mathcs.holycross.edu/~ahwang/print/calc.pdf
277•o4c•13h ago•59 comments

A Unified Theory of Ego, Empathy, and Humility at Work

https://matthogg.fyi/a-unified-theory-of-ego-empathy-and-humility-at-work/
28•mrmatthogg•4h ago•0 comments

Racket v9.0

https://blog.racket-lang.org/2025/11/racket-v9-0.html
302•Fice•16h ago•102 comments

Show HN: I wrote a minimal memory allocator in C

https://github.com/t9nzin/memory
73•t9nzin•7h ago•19 comments

A desktop app for isolated, parallel agentic development

https://github.com/coder/mux
67•mercat•7h ago•24 comments

Band of Holes

https://en.wikipedia.org/wiki/Band_of_Holes
18•user070223•4d ago•2 comments

Liva AI (YC S25) Is Hiring

https://www.ycombinator.com/companies/liva-ai/jobs/fYP8QP8-growth-intern
1•ashlleymo•7h ago

Iowa City made its buses free. Traffic cleared, and so did the air

https://www.nytimes.com/2025/11/18/climate/iowa-city-free-buses.html
310•bookofjoe•8h ago•354 comments

Show HN: Gitlogue – A terminal tool that replays your Git commits with animation

https://github.com/unhappychoice/gitlogue
122•unhappychoice•5d ago•15 comments

A time-travelling door bug in Half Life 2

https://mastodon.gamedev.place/@TomF/115589875974658415
382•AshleysBrain•2d ago•52 comments

Particle Life

https://sandbox-science.com/particle-life
57•StromFLIX•8h ago•6 comments

Mount Proton Drive on Linux using rclone and systemd

https://github.com/dadtronics/protondrive-linux
121•cf100clunk•14h ago•47 comments

Terence Tao: At the Erdos problem website, AI assistance now becoming routine

https://mathstodon.xyz/@tao/115591487350860999
220•dwohnitmok•1d ago•39 comments

Sunsetting Supermaven

https://supermaven.com/blog/sunsetting-supermaven
41•vednig•7h ago•20 comments

An Economy of AI Agents

https://arxiv.org/abs/2509.01063
110•nerder92•1d ago•66 comments

Insurers retreat from AI cover as risk of multibillion-dollar claims mounts

https://www.ft.com/content/abfe9741-f438-4ed6-a673-075ec177dc62
29•gwintrob•1h ago•2 comments