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

Comments

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

How OpenAI delivers low-latency voice AI at scale

https://openai.com/index/delivering-low-latency-voice-ai-at-scale/
236•Sean-Der•4h ago•91 comments

I am worried about Bun

https://wwj.dev/posts/i-am-worried-about-bun/
381•remote-dev•7h ago•258 comments

Talking to strangers at the gym

https://thienantran.com/talking-to-35-strangers-at-the-gym/
1092•thitran•12h ago•516 comments

Pulitzer Prize Winners 2026

https://www.pulitzer.org/prize-winners-by-year/2026
66•brightbeige•3h ago•22 comments

Securing a DoD contractor: Finding a multi-tenant authorization vulnerability

https://www.strix.ai/blog/how-strix-found-zero-auth-vulnerability-dod-backed-startup
158•bearsyankees•6h ago•70 comments

Testing macOS on the Apple Network Server 2.0 ROMs

http://oldvcr.blogspot.com/2026/05/testing-macos-on-apple-network-server.html
42•zdw•1d ago•8 comments

GameStop makes $55.5B takeover offer for eBay

https://www.bbc.co.uk/news/articles/cn0p8yled1do
633•n1b0m•14h ago•589 comments

Agent Skills

https://addyosmani.com/blog/agent-skills/
63•BOOSTERHIDROGEN•2h ago•13 comments

Does Employment Slow Cognitive Decline? Evidence from Labor Market Shocks

https://www.nber.org/papers/w35117
192•littlexsparkee•8h ago•185 comments

Redis array: short story of a long development process

https://antirez.com/news/164
217•antirez•10h ago•78 comments

Microsoft Edge stores all passwords in memory in clear text, even when unused

https://twitter.com/L1v1ng0ffTh3L4N/status/2051308329880719730
376•cft•6h ago•142 comments

Formatting a 25M-line codebase overnight

https://stripe.dev/blog/formatting-an-entire-25-million-line-codebase-overnight-the-rubyfmt-story
106•r00k•4h ago•57 comments

Jonathan Swift's Last Joke

https://www.newyorker.com/culture/the-weekend-essay/jonathan-swifts-last-joke
16•samizdis•2d ago•2 comments

1966 Ford Mustang Converted into a Tesla with Working 'Full Self-Driving'

https://electrek.co/2026/05/02/tesla-1966-mustang-ev-conversion-full-self-driving/
108•Brajeshwar•9h ago•86 comments

UK Fuel Price Intelligence – Market analytics from reporting stations

https://www.fuelinsight.co.uk
156•theazureguy•9h ago•73 comments

Transformers Are Inherently Succinct

https://arxiv.org/abs/2510.19315
24•bearseascape•4h ago•6 comments

How Monero’s proof of work works

https://blog.alcazarsec.com/tech/posts/how-moneros-proof-of-work-works
227•alcazar•10h ago•176 comments

Pomiferous: The most extensive apples (pommes) database

https://pomiferous.com/
97•Ariarule•9h ago•42 comments

US healthcare marketplaces shared citizenship and race data with ad tech giants

https://techcrunch.com/2026/05/04/us-healthcare-marketplaces-shared-citizenship-and-race-data-wit...
395•ZeidJ•7h ago•134 comments

Sierra Raises $950M at $15B Valuation

https://sierra.ai/blog/better-customer-experiences-built-on-sierra
83•doppp•8h ago•108 comments

Let's talk about LLMs

https://www.b-list.org/weblog/2026/apr/09/llms/
129•cdrnsf•6h ago•89 comments

Show HN: I Built a Museum Exhibit

https://knhash.in/built-an-exhibit/
4•kn81198•2d ago•0 comments

Stop big tech from making users behave in ways they don't want to

https://economist.com/by-invitation/2026/04/29/stop-big-tech-from-making-users-behave-in-ways-the...
205•andsoitis•7h ago•142 comments

Show HN: nfsdiag – A NFS diagnostic application

https://github.com/lsferreira42/nfsdiag
38•lsferreira42•2d ago•3 comments

Heat pump sales rise across Europe

https://www.pv-magazine.com/2026/05/04/heat-pump-sales-rise-17-across-europe-in-q1-as-energy-pric...
198•doener•6h ago•116 comments

The Visible Zorker: Zork 3

https://eblong.com/infocom/visi/zork3/
44•zarlez•7h ago•2 comments

Newton's law of gravity passes its biggest test

https://www.science.org/content/article/newton-s-law-gravity-passes-its-biggest-test-ever
133•pseudolus•11h ago•119 comments

'Point of no return': New Orleans relocation must start now due to sea level

https://www.theguardian.com/us-news/2026/may/04/new-orleans-sea-levels-relocation-climate-crisis
68•dmm•3h ago•48 comments

A little comparison between R and Kap

https://blog.dhsdevelopments.com/a-little-comparison-between-r-and-kap
17•tosh•2d ago•2 comments

Using “underdrawings” for accurate text and numbers

https://samcollins.blog/underdrawings/
359•samcollins•3d ago•126 comments