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.

Libghostty 1.0

https://mitchellh.com/writing/libghostty-1-0
391•mfiguiere•5h ago•64 comments

A Jev that can ask Opus for help gives Opus accuracy at 4x lower cost

https://hightouch.com/blog/llm-judges-identity-resolution
399•theanomaly•9h ago•90 comments

I Toured Unitree's Factory. I'm More Bullish on the West

https://josef.cn/blog/unitree
75•josefchen•3h ago•46 comments

Tesla to wind down Cybertruck production

https://www.nbcnews.com/tech/tech-news/tesla-wind-cybertruck-production-years-poor-sales-markets-...
920•PLenz•16h ago•1775 comments

What do the next 4000 emoji look like?

https://jenniferdaniel.substack.com/p/what-do-the-next-4000-emoji-look
20•lacieargyle•1d ago•8 comments

RealPage rent-pricing case wraps with nearly $360M to renters

https://www.multifamilydive.com/news/realpage-rent-pricing-case-360m-renters/873553/
71•raybb•5h ago•29 comments

Show HN: Did prediction markets do any predicting this midterms?

https://app.artifactbin.dev/@vivek/AQTt2H-did-prediction-markets-predict-the-midterms
8•nuwandavek•1h ago•1 comments

Firecracker VM Escape: PwnEscape Part 2

https://pwn.ai/blog/firecracker-escape
202•SerCe•9h ago•96 comments

US FAA says it will phase out floppy disks from air traffic control by 2028

https://www.reuters.com/world/us/us-faa-says-it-will-phase-out-floppy-disks-air-traffic-control-b...
303•ChrisArchitect•1d ago•244 comments

Greece has its own Pompeii: Thera buried Akrotiri in ash 17th-16th century BCE

https://www.smithsonianmag.com/history/greece-has-its-own-pompeii-and-the-ruins-tell-a-captivatin...
52•derbOac•3d ago•4 comments

Notes on San Marino

https://mattlakeman.org/2026/11/05/notes-on-san-marino/
30•yorwba•11h ago•3 comments

Lighting the Skies

https://computer.rip/2026-10-25-searchlights.html
9•dverlaeckt80•1h ago•1 comments

The AI sell-off compared to well-known stock market crashes

https://www.kadoa.com/companies/insights/ai-selloff-perspective
30•hubraumhugo•2h ago•14 comments

AI is dramatically accelerating AI research

https://www.planned-obsolescence.org/p/ai-is-dramatically-accelerating-ai
243•yurivish•8h ago•189 comments

Can GROUP BY still be optimized after all these years?

https://pivotlake.io/blog/know-your-limit-faster-top-k-aggregation/
61•ntur1337•3d ago•3 comments

The Flash C Compiler

https://blog.adafruit.com/2026/10/31/flash-c-compiler/
7•AlexeyBrin•3d ago•0 comments

First steps in bare-metal programming using UEFI

https://kevinboone.me/efitest_index.html
206•LaSombra•12h ago•37 comments

Panthera: Ampere's CPU Performance Model

https://github.com/AmpereComputing/panthera
22•mshockwave•3d ago•4 comments

Restaurant Delivery Payment-Skimming Campaign

https://www.infohawk.com/news/2026-11-05-scamwich-restaurant-skimming
106•fiej•9h ago•55 comments

Show HN: Tmux-restore saves tmux windows and agent sessions across reboots

https://github.com/andrewboldi/tmux-restore
21•boldi•3d ago•6 comments

GitHub's new Git storage architecture

https://github.blog/engineering/architecture-optimization/inside-githubs-new-git-storage-architec...
97•DAlperin•9h ago•18 comments

How tall can you build with 54 Jenga blocks?

https://johnjwang.com/post/2026/10/25/tallest-jenga-tower
9•johnjwang•2d ago•4 comments

Devvm.dev: One VM for every project

https://devvm.dev/
136•luispa•11h ago•54 comments

Google has acquired Crusoe's data center site in southeast Wyoming

https://www.crusoe.ai/resources/newsroom/crusoe-wyoming-data-center-campus-update
55•rexbee•8h ago•10 comments

Sodium-ion batteries approach cost parity with LFP

https://www.pv-magazine.com/2026/11/06/sodium-ion-batteries-approach-cost-parity-with-lfp-with-70...
152•doener•5h ago•71 comments

Gemini Omni 1.2 Flash

https://blog.google/innovation-and-ai/technology/developers-tools/introducing-gemini-omni-1-2-flash/
308•thisisauserid•15h ago•222 comments

Show HN: Waymark – A workflow engine that compiles jobs instead of replaying

https://github.com/piercefreeman/waymark
53•icyfox•1d ago•15 comments

Replit rebuilt its sandbox engine with microVMs

https://frontier.replit.com/sandbox-engine-microvms-part-1/
79•gaplong•9h ago•26 comments

Chomsky and the two cultures of statistical learning (2011)

https://www.norvig.com/chomsky.html
113•andsoitis•20h ago•92 comments

UpCodes (YC S17) is hiring SDR's to sell AI compliance software

https://up.codes/careers?utm_source=HN
1•Old_Thrashbarg•11h ago