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.

Tailwind Labs is joining Shopify

https://tailwindcss.com/blog/tailwind-is-joining-shopify
517•EdwinHoksberg•3h ago•203 comments

GNU Radio in the Browser

https://gnuradioworld.com/
45•kristianpaul•1h ago•8 comments

GPT-6 Astra, Looped Transformers, and Hidden Reasoning

https://magazine.sebastianraschka.com/p/gpt-6-astra-looped-transformers-and
108•ModelForge•2h ago•20 comments

Claude, change the "Add to Cart" button to blue

https://opusfived.dev/
657•matthieu_bl•7h ago•261 comments

Defining AI Psychosis. Part 2: "Prolific AI Psychosis"

https://jeffs.blog/p/defining-ai-psychosis-part-2-prolific
32•euthymiclabs•55m ago•15 comments

No Man's Sky Cosmos

https://www.nomanssky.com/cosmos-update/
109•Limb•1h ago•85 comments

Desert Ant Labs: local, fast models that run on device

https://desertant.com/blog/introducing-desert-ant-labs/
272•willwhitedc•5h ago•71 comments

Planet Labs' Open Satellite Feed

https://tech.marksblogg.com/planet-labs-open-satellite-feed.html
36•marklit•1h ago•7 comments

Anthropic Is Building a Predictive Surveillance System to Monitor Activists

https://prospect.org/2026/09/09/anthropic-artificial-intelligence-surveillance-system-monitor-act...
180•dn2k•1h ago•70 comments

Rivian's Gambit for Full Autonomy

https://spectrum.ieee.org/rivian-self-driving
17•1970-01-01•21h ago•15 comments

We Accidentally Built a Synthetic Cell Factory

https://bnext.bio/post/we-accidentally-built-a-synthetic-cell-factory
25•rajivm•1h ago•1 comments

Rails 8 Guide: Features, Requirements and Upgrade Path (2026)

https://blog.appsignal.com/2024/10/07/whats-new-in-ruby-on-rails-8.html
23•andreigaspar•1h ago•5 comments

Understanding the Recent DDoS Attack Against Read the Docs

https://about.readthedocs.com/blog/2026/09/2026-ddos-attack/
17•davidfischer•1h ago•7 comments

Investing in Mothers? The Long-Run Impact of a Universal Child Care

https://www.nber.org/papers/w35514
63•throw0101d•2h ago•67 comments

Show HN: Rdltr – Inbox zero for your reading list

https://rdltr.app/
3•eduardosasso•2m ago•0 comments

Roame (YC S23) Is Hiring Viral Content Editor

https://www.ycombinator.com/companies/roame/jobs/KuVVqSh-content-systems-builder-editor
1•zman0225•5h ago

Microsoft/TracerAI withdraws copyright takedown against Luanti

https://blog.luanti.org/2026/09/08/dmca-rescinded/
29•daper•2h ago•8 comments

I advertise malicious software on Google Ads

https://xlii.space/eng/malicious-software-on-google-ads/
259•xlii•5h ago•157 comments

Bespoke: A Programming Language for People Who Say Please

https://blog.hofstede.it/bespoke-a-programming-language-for-people-who-say-please/
18•birdculture•3d ago•7 comments

DeepSeek launching v4.1 flash cheaper and more capable than v4 pro

329•nickweb•5h ago•173 comments

Magic Move for Code Snippets from first principles

https://rahulrav.com/blog/magic_move.html
5•rahulrav•2d ago•0 comments

Better AI code comment detector

https://entropicthoughts.com/better-ai-comment-classifier
15•ibobev•1h ago•12 comments

Show HN: Give your AI agent on-screen guides that show users where to click

5•pancomplex•1h ago•0 comments

"Good" AI

https://thoughts.wyounas.com/p/what-does-good-ai-mean
4•simplegeek•47m ago•0 comments

Muse – Meta’s personal AI agent

https://ai.meta.com/muse/
603•yks•21h ago•656 comments

I rank the open-source AI agents that launched in the last 30 days

https://www.theagenticleaderboard.com/
3•theagenticleade•22m ago•0 comments

Muse's Social Media Handle Is Stolen by New Meta AI Tool

https://www.realitytea.com/2026/09/09/muse-band-meta-ai-social-media-handle/
4•erremerre•25m ago•0 comments

Playing whack-a-mole is losing

https://dadrian.io/blog/posts/whack-a-mole-is-losing/
35•surprisetalk•3h ago•10 comments

Navier-Stokes – Tristan Buckmaster [pdf]

https://cims.nyu.edu/~tristanb/statement.pdf
1947•procedurecall•1d ago•798 comments

Coyote v. Acme (1990)

https://www.newyorker.com/magazine/1990/02/26/coyote-v-acme
114•ChrisArchitect•3d ago•53 comments