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.

Type-safe HTML templating in Zig

https://lalinsky.com/2026/10/11/type-safe-html-templating-in-zig.html
125•lukaslalinsky•5h ago•56 comments

Fingerprints are the new cookies

https://royfish.dev/fingerprints-are-the-new-cookies
398•royfish•12h ago•199 comments

Postgres isn't slow, your storage is

https://clickhouse.com/blog/posette-talk-recap-postgres-isnt-slow-your-storage-is
98•saisrirampur•4h ago•69 comments

Total Annihilation, rebuilt for modern computers

https://nanolathe.gg
530•jttnr•16h ago•204 comments

Running the unmodified Linux amdgpu driver on an iPad

https://github.com/Geramy/LemonSeed-Studio
31•joshcsimmons•1d ago•11 comments

Calculus with Julia

https://jverzani.github.io/CalculusWithJuliaNotes.jl/
137•subset•1d ago•14 comments

Cartographers of North Korea (2019)

https://cartographers-nk.wonyoung.so/
266•edent•14h ago•49 comments

Whatever became of holography? (2011)

https://www.americanscientist.org/article/whatever-became-of-holography
135•cainxinth•10h ago•65 comments

Show HN: PS2 games statically recompiled to WebAssembly

https://github.com/snuri00/ps2-web-recomp
39•deadxwarrior•3h ago•9 comments

Terence Tao: Math 2.0 [pdf]

https://teorth.github.io/tao-web/slides/math-2-0-caltech-2026.pdf
410•Anon84•21h ago•430 comments

Ledger confirms hidden chip in crypto wallet amid $92M theft claims

https://crypto.news/ledger-confirms-hidden-chip-in-crypto-wallet-amid-92m/
10•thm•34m ago•4 comments

The gap in shared understanding of LLM capability is widening

https://twitter.com/karpathy/status/2109361546505966046
477•albertzeyer•14h ago•693 comments

Zod 4.6.6 compromised by malware?

https://github.com/colinhacks/zod/commit/d821685ea6732436fcdf786a81d076958471e467
131•luggage_bazooka•2h ago•34 comments

Doory – Open-Source Canva

https://github.com/shaongitbd/doory
122•acley•9h ago•45 comments

Local Indexing to reduce tool calling and token usage

https://tedhaley.ca/pensieve/
82•TedHaley•10h ago•24 comments

Bag of Decisions Reranker

https://softwaredoug.com/blog/2026/10/08/bag-of-decisions.html
4•zdw•1d ago•0 comments

Deloitte falsified documents to evade tax on Abramovich's wealth

https://www.bbc.com/news/articles/c64g1l5389kvo
7•Betelbuddy•23m ago•0 comments

No portable way to detect string-to-float conversion errors in standard C

https://sebsite.pw/w/20261009-strtod.html
51•signa11•1d ago•43 comments

Passkeys are a trap

https://nonfunctional.substack.com/p/passkeys-are-a-trap-do-not-use-them
655•laurex•12h ago•380 comments

Fable Took My Job

https://cendyne.dev/posts/2026-10-11-fable-took-my-jorb.html
146•jllyhill•2h ago•173 comments

Illustration Beyond Proof

https://terrytao.wordpress.com/2026/10/11/illustration-beyond-proof/
68•smilelamp•11h ago•8 comments

Chapter 1 of "Ways of Seeing" by John Berger (1972)

https://www.ways-of-seeing.com/ch1
113•rafael859•16h ago•18 comments

Research Firm Calls Anthropic's IPO 'Unprecedented Test of Investor Gullibity'

https://www.cnbc.com/2026/10/07/anthropic-will-be-most-ridiculous-ipo-of-year-analyst-says.html
78•m463•5h ago•61 comments

Will Linux phones become a viable alternative to the Android/iOS duopoly?

https://amosbbatto.wordpress.com/2026/10/05/linux-phones-alternative/
156•amosbatto•5h ago•174 comments

Programmable pigments: Photochromic nanoparticle inks for rewritable tattoos

https://www.cell.com/matter-light/fulltext/S3117-5848(26)00119-5
56•Bluestein•1d ago•36 comments

Ask HN: Do you want a router that has DD-WRT pre-installed?

57•Ixander•1d ago•63 comments

NYC's "Click to Cancel" rule is now in effect

https://www.nyc.gov/main/click-to-cancel
484•gregsadetsky•16h ago•233 comments

So, you’d like to sell your print issues of The Onion?

https://theonion.com/archivehunt/
328•mooreds•15h ago•49 comments

Google Data Centers around the world

https://datacenters.google/locations/
60•andsoitis•11h ago•55 comments

Every US Electrical Outlet Explained [video]

https://www.youtube.com/watch?v=n_1wzYQwnts
25•zdw•1d ago•36 comments