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

Comments

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

Statement from Dario Amodei on our discussions with the Department of War

https://www.anthropic.com/news/statement-department-of-war
1237•qwertox•5h ago•681 comments

The Hunt for Dark Breakfast – Can we derive breakfasts we have never observed?

https://moultano.wordpress.com/2026/02/22/the-hunt-for-dark-breakfast/
36•moultano•40m ago•13 comments

Google Workers Seek 'Red Lines' on Military A.I., Echoing Anthropic

https://www.nytimes.com/2026/02/26/technology/google-deepmind-letter-pentagon.html
99•mikece•1h ago•38 comments

What Claude Code Chooses

https://amplifying.ai/research/claude-code-picks
294•tin7in•10h ago•119 comments

Layoffs at Block

https://twitter.com/jack/status/2027129697092731343
564•mlex•7h ago•593 comments

Will vibe coding end like the maker movement?

https://read.technically.dev/p/vibe-coding-and-the-maker-movement
342•itunpredictable•12h ago•340 comments

AirSnitch: Demystifying and breaking client isolation in Wi-Fi networks [pdf]

https://www.ndss-symposium.org/wp-content/uploads/2026-f1282-paper.pdf
332•DamnInteresting•12h ago•161 comments

Move tests to closed source repo

https://github.com/tldraw/tldraw/issues/8082
13•nilsbunger•23h ago•8 comments

What does " 2>&1 " mean?

https://stackoverflow.com/questions/818255/what-does-21-mean
180•alexmolas•8h ago•107 comments

Parakeet.cpp – Parakeet ASR inference in pure C++ with Metal GPU acceleration

https://github.com/Frikallo/parakeet.cpp
7•noahkay13•41m ago•1 comments

Smartphone market forecast to decline this year due to memory shortage

https://www.idc.com/resource-center/press-releases/wwsmartphoneforecast4q25/
193•littlexsparkee•6h ago•190 comments

Launch HN: Cardboard (YC W26) – Agentic video editor

https://www.usecardboard.com/
101•sxmawl•9h ago•52 comments

LiteLLM (YC W23): Founding Reliability Engineer – $200K-$270K and 0.5-1.0% equity

https://www.ycombinator.com/companies/litellm/jobs/unlCynJ-founding-reliability-performance-engineer
1•ij23•3h ago

Hydroph0bia – fixed SecureBoot bypass for UEFI firmware from Insyde H2O (2025)

https://coderush.me/hydroph0bia-part3/
43•transpute•6h ago•1 comments

A Nationwide Book Ban Bill Has Been Introduced in the House of Representatives

https://bookriot.com/hr7661-book-ban-legislation/
23•LostMyLogin•55m ago•1 comments

An Introduction to the Codex Seraphinianus, the Strangest Book Ever Published

https://www.openculture.com/2026/02/an-introduction-to-the-codex-seraphinianus.html
41•vinhnx•3d ago•10 comments

I baked a pie every day for a year and it changed my life

https://www.theguardian.com/lifeandstyle/2026/feb/22/a-new-start-after-60-i-baked-a-pie-every-day...
239•NaOH•3d ago•161 comments

Museum of Plugs and Sockets

https://plugsocketmuseum.nl/index.html
89•ohjeez•3d ago•34 comments

Palm OS User Interface Guidelines (2003) [pdf]

https://cs.uml.edu/~fredm/courses/91.308-spr05/files/palmdocs/uiguidelines.pdf
169•spiffytech•11h ago•80 comments

Hacking Tauri for Designer

https://yujonglee.com/blog/hacking-tauri-for-designer/
21•yujonglee•4d ago•2 comments

OsmAnd's Faster Offline Navigation (2025)

https://osmand.net/blog/fast-routing/
124•todsacerdoti•9h ago•36 comments

Understanding the Go Runtime: The Memory Allocator

https://internals-for-interns.com/posts/go-memory-allocator/
39•valyala•3d ago•7 comments

BuildKit: Docker's Hidden Gem That Can Build Almost Anything

https://tuananh.net/2026/02/25/buildkit-docker-hidden-gem/
156•jasonpeacock•14h ago•52 comments

Bending the CLOS Mop for Java-Style Single Dispatch

https://atgreen.github.io/repl-yell/posts/clos-mop-dispatch/
3•atgreen•4d ago•1 comments

Lidar waveforms are worth 40x128x33 words

https://openaccess.thecvf.com/content/ICCV2025/html/Scheuble_Lidar_Waveforms_are_Worth_40x128x33_...
42•teleforce•3d ago•14 comments

Show HN: Hacker Smacker – Spot great (and terrible) HN commenters at a glance

https://hackersmacker.org
100•conesus•2d ago•104 comments

Show HN: Linex – A daily challenge: placing pieces on a board that fights back

https://www.playlinex.com/
56•Humanista75•2d ago•19 comments

Show HN: Deff – Side-by-side Git diff review in your terminal

https://github.com/flamestro/deff
85•flamestro•10h ago•52 comments

Cartographic Symbologies: The Art and Design of Expression in Historic Maps

https://exhibits.stanford.edu/cartosym/browse
11•starkparker•3d ago•0 comments

Nano Banana 2: Google's latest AI image generation model

https://blog.google/innovation-and-ai/technology/ai/nano-banana-2/
515•davidbarker•12h ago•491 comments