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.

Claude Fable 5

https://www.anthropic.com/news/claude-fable-5-mythos-5
1085•Philpax•3h ago•903 comments

GPT-2: Too Dangerous To Release (2019)

https://naokishibuya.github.io/blog/2022-12-30-gpt-2-2019/
36•AbuAssar•1h ago•4 comments

Making Graphics Like it's 1993

https://staniks.github.io/articles/catlantean-3d-blog-1/
613•sklopec•9h ago•102 comments

A giant star may have destroyed itself in one of the rarest explosions

https://phys.org/news/2026-05-giant-star-destroyed-universe-rarest.html
96•wglb•22h ago•14 comments

Microsoft's open source tools were hacked to steal passwords of AI developers

https://techcrunch.com/2026/06/08/microsofts-open-source-tools-were-hacked-to-steal-passwords-of-...
486•raffael_de•12h ago•169 comments

What it feels like to work with Mythos

https://www.oneusefulthing.org/p/what-it-feels-like-to-work-with-mythos
69•swolpers•2h ago•58 comments

Ultrafast machine learning on FPGAs via Kolmogorov-Arnold Networks

https://aarushgupta.io/posts/kan-fpga/
9•ag2718•36m ago•0 comments

Apple decided not to roll out Siri in EU after denied request for exemption

https://www.reuters.com/business/apple-failed-make-its-ai-tool-comply-eu-regulations-eu-commissio...
258•flanged•3h ago•421 comments

The LD_DEBUG environment variable (2012)

https://bnikolic.co.uk/blog/linux-ld-debug.html
24•tanelpoder•2h ago•1 comments

Biff.core: system composition for Clojure web apps

https://biffweb.com/p/core/
50•jacobobryant•3h ago•15 comments

Launch HN: Transload (YC P26) – Measuring freight items with CCTV

23•nils_spatial•3h ago•5 comments

How we run untrusted customer code at scale

https://nango.dev/blog/how-nango-runs-untrusted-customer-code-at-scale/
5•rguldener•4h ago•0 comments

FCC wants to kill burner phones by forcing telecoms to get all customers' IDs

https://www.404media.co/fcc-wants-to-kill-burner-phones-by-forcing-telecoms-to-get-all-customers-...
279•berlianta•4h ago•181 comments

OpenCV 5 Is Here: The Biggest Leap in Years for Computer Vision

https://opencv.org/opencv-5/
601•ternaus•3d ago•108 comments

Test-case reducers are underappreciated debugging tools

https://tratt.net/laurie/blog/2026/test_case_reducers_are_underappreciated_debugging_tools.html
5•ltratt•8h ago•0 comments

Flat Datacenter Networks at Scale at Amazon

https://perspectives.mvdirona.com/2026/06/flat-datacenter-networks-at-scale/
8•tanelpoder•16h ago•0 comments

Let's Encrypt bans certificate usage in any US sanctioned territory [pdf]

https://letsencrypt.org/documents/LE-SA-v1.7-June-04-2026-diff.pdf
190•piskov•21h ago•145 comments

Is Grep All You Need? How Agent Harnesses Reshape Agentic Search

https://arxiv.org/abs/2605.15184
86•Anon84•6h ago•41 comments

Show HN: Cost.dev (YC W21) – making agents cost-aware and cheaper to call

https://cost.dev/
39•akh•5d ago•22 comments

CEOs Who Think AI Replaces Their Employees Are Just Bad CEOs

https://www.techdirt.com/2026/06/09/ceos-who-think-ai-replaces-their-employees-are-just-bad-ceos/
38•speckx•1h ago•2 comments

Can LLMs Beat Classical Hyperparameter Optimization Algorithms?

https://arxiv.org/abs/2603.24647
73•galsapir•4h ago•12 comments

Emerge Career (YC S22) Is Hiring a Founding Growth Marketer

https://www.ycombinator.com/companies/emerge-career/jobs/v0S1AEG-founding-growth-marketer
1•gabesaruhashi•7h ago

The iPhone's Last Stand?

https://stratechery.com/2026/the-iphones-last-stand/
136•swolpers•9h ago•176 comments

Show HN: Gravity – interactive solar-system simulator, from Newton to Einstein

https://qunabu.github.io/Gravity/
108•qunabu•8h ago•24 comments

Show HN: GentleOS – A pair of hobby OSes for vintage 32-bit and 16-bit PCs

https://github.com/luke8086/gentleos32
59•luke8086•2d ago•82 comments

Apple's AI Can Now Change Your Passwords. What Could Possibly Go Wrong?

https://www.kylereddoch.me/blog/apples-ai-can-now-change-your-passwords-what-could-possibly-go-wr...
7•speckx•1h ago•3 comments

Show HN: Learn from 30 historical figures, open source, nonprofit, self-hosted

https://github.com/chipmates/agoracosmica
24•micstradev•8h ago•11 comments

Unified Controllable and Faithful Text-to-CAD Generation with LLMs

https://arxiv.org/abs/2604.19773
47•PaulHoule•5h ago•13 comments

Forever Young: how one molecule can lock plants in a youthful state (2025)

https://omnia.sas.upenn.edu/story/biologist-scott-poethig-plants-never-age
110•bryanrasmussen•11h ago•64 comments

Using Optical Aberrations to Distinguish Real Astronomical Transients

https://arxiv.org/abs/2606.08319
29•solarist•4h ago•2 comments