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

Comments

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

Flighty Airports

https://flighty.com/airports
126•skogstokig•2h ago•40 comments

Goodbye to Sora

https://twitter.com/soraofficialapp/status/2036532795984715896
451•mikeocool•7h ago•353 comments

I wanted to build vertical SaaS for pest control, so I took a technician job

https://www.onhand.pro/p/i-wanted-to-build-vertical-saas-for-pest-control-i-took-a-technician-job...
224•tezclarke•6h ago•89 comments

In Edison’s Revenge, Data Centers Are Transitioning From AC to DC

https://spectrum.ieee.org/data-center-dc
95•jnord•2h ago•98 comments

Show HN: I took back Video.js after 16 years and we rewrote it to be 88% smaller

https://videojs.org/blog/videojs-v10-beta-hello-world-again
243•Heff•9h ago•36 comments

Apple Business

https://www.apple.com/newsroom/2026/03/introducing-apple-business-a-new-all-in-one-platform-for-b...
537•soheilpro•11h ago•324 comments

Arm AGI CPU

https://newsroom.arm.com/blog/introducing-arm-agi-cpu
288•RealityVoid•9h ago•229 comments

Tell HN: Litellm 1.82.7 and 1.82.8 on PyPI are compromised

https://github.com/BerriAI/litellm/issues/24512
531•dot_treo•15h ago•385 comments

A Compiler Writing Journey

https://github.com/DoctorWkt/acwj
43•ibobev•3h ago•2 comments

Zero-Cost POSIX Compliance: Encoding the Socket State Machine in Lean's Types

https://ngrislain.github.io/blog/2026-3-25-zerocost-posix-compliance-encoding-the-socket-state-ma...
24•ngrislain•2h ago•9 comments

Transformers Are Bayesian Networks

https://arxiv.org/abs/2603.17063
27•Anon84•4d ago•16 comments

Algorithm Visualizer

https://algorithm-visualizer.org/
30•vinhnx•4d ago•3 comments

An Aural Companion for Decades, CBS News Radio Crackles to a Close

https://www.nytimes.com/2026/03/21/business/media/cbs-news-radio-appraisal.html
34•tintinnabula•3d ago•5 comments

Show HN: Email.md – Markdown to responsive, email-safe HTML

https://www.emailmd.dev/
232•dancablam•11h ago•56 comments

Wine 11 rewrites how Linux runs Windows games at kernel with massive speed gains

https://www.xda-developers.com/wine-11-rewrites-linux-runs-windows-games-speed-gains/
724•felineflock•8h ago•256 comments

What happened to GEM?

https://dfarq.homeip.net/whatever-happened-to-gem/
53•naves•4d ago•25 comments

Hypura – A storage-tier-aware LLM inference scheduler for Apple Silicon

https://github.com/t8/hypura
194•tatef•11h ago•75 comments

Show HN: Gemini can now natively embed video, so I built sub-second video search

https://github.com/ssrajadh/sentrysearch
276•sohamrj•12h ago•75 comments

Hypothesis, Antithesis, synthesis

https://antithesis.com/blog/2026/hegel/
218•alpaylan•11h ago•82 comments

How the world’s first electric grid was built

https://worksinprogress.co/issue/how-the-worlds-first-electric-grid-was-built/
63•zdw•4d ago•18 comments

Missile defense is NP-complete

https://smu160.github.io/posts/missile-defense-is-np-complete/
281•O3marchnative•14h ago•289 comments

Intel Device Modeling Language for virtual platforms

https://github.com/intel/device-modeling-language
3•transpute•3d ago•0 comments

Oil at $150 will trigger global recession, says boss of financial BlackRock

https://www.bbc.com/news/articles/c9wqrdkx8ppo
31•tartoran•1h ago•3 comments

Epoch confirms GPT5.4 Pro solved a frontier math open problem

https://epoch.ai/frontiermath/open-problems/ramsey-hypergraphs
423•in-silico•1d ago•621 comments

Lago (YC S21) Is Hiring

https://getlago.notion.site/Lago-Product-Engineer-AI-Agents-for-Growth-327ef63110d280cdb030ccf429...
1•AnhTho_FR•9h ago

No Terms. No Conditions

https://notermsnoconditions.com
231•bayneri•11h ago•104 comments

Epic Games to cut more than 1k jobs as Fortnite usage falls

https://www.reuters.com/legal/litigation/epic-games-said-tuesday-that-it-will-lay-off-more-than-1...
290•doughnutstracks•12h ago•449 comments

Data Manipulation in Clojure Compared to R and Python

https://codewithkira.com/2024-07-18-tablecloth-dplyr-pandas-polars.html
101•tosh•2d ago•29 comments

Nanobrew: The fastest macOS package manager compatible with brew

https://nanobrew.trilok.ai/
190•syrusakbary•15h ago•115 comments

ARM AGI CPU: Specs and SKUs

https://sbcwiki.com/docs/soc-manufacturers/arm/arm-silicon/
101•HeyMeco•9h ago•26 comments