frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

JEP 515: Ahead-of-Time Method Profiling

https://openjdk.org/jeps/515
94•cempaka•16h ago

Comments

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

Apple may release a 'mostly glass, curved iPhone' in 2027

https://www.theverge.com/news/664776/apple-curved-glass-iphone-2027
1•amalinovic•1m ago•0 comments

Using type assertions in Go with concrete types

https://www.jvt.me/posts/2025/05/10/go-type-assertion-concrete/
1•unripe_syntax•3m ago•0 comments

Writing a programming language to port my software library

https://numberduck.com/blog/transpiling-number-duck/
1•CliffyA•5m ago•0 comments

Show HN: I built a system to make ChatGPT brutally honest with you

https://www.honestprompts.com/
1•moobuilds•16m ago•0 comments

Fundings for NFT

https://www.indiegogo.com/projects/viralia-next-generation-agency
1•viralia_digital•22m ago•0 comments

How to pretend to work 40 hours a week

https://www.miserablyemployed.com/blogs/news/how-to-pretend-to-work-40-hours-a-week
9•ramijames•26m ago•0 comments

Colmap – Structure-from-Motion and Multi-View Stereo

https://colmap.github.io/
1•marklit•30m ago•0 comments

SurrealQL

https://surrealdb.com/docs/surrealql
1•whatever3•32m ago•0 comments

Turkey: PKK Announces Intention to Disband

https://www.dw.com/en/breaking-kurdish-pkk-militant-group-announces-intention-to-disband/a-72512078
1•Tomte•32m ago•0 comments

Discovery by Norfolk metal detectorist baffles experts

https://www.edp24.co.uk/news/25145529.discovery-norfolk-metal-detectorist-baffles-experts/
1•austinallegro•33m ago•0 comments

DeerFlow, a community-driven Deep Research framework

https://github.com/bytedance/deer-flow
1•blacktulip•38m ago•0 comments

US AI execs urge improved infrastructure and chip exports to beat China

https://www.reuters.com/world/us/us-ai-execs-give-congress-policy-wishlist-beating-china-2025-05-08/
5•byte-bolter•43m ago•0 comments

Toolkami

https://github.com/aperoc/toolkami
1•handfuloflight•47m ago•0 comments

Microsoft Unveils SurfaceLaptop13 and SurfacePro12 with AI Snapdragon X Plus 4nm

https://www.reuters.com/business/microsoft-launches-lower-priced-ai-laptops-with-qualcomm-chips-2025-05-06/
3•bit_qntum•48m ago•0 comments

Values of β will give rise to DOM

https://9p.io/cm/cs/who/dmr/odd.html
1•shawndumas•49m ago•0 comments

The perfect game engine for indie game developers

2•kappetrov•52m ago•0 comments

Writing at the Speed of Thought [video]

https://www.youtube.com/watch?v=sqm4-B07LsE
1•dogacel•55m ago•0 comments

SpaceRadiationTolerant Framework Achieves 97% Uptime in Extreme Space Conditions

https://github.com/r0nlt/Space-Radiation-Tolerant
1•r0nlt•1h ago•1 comments

EuroBillTracker – Follow your Euro notes

https://en.eurobilltracker.com
1•gdgghhhhh•1h ago•0 comments

Why Gen X is the real loser generation

https://www.economist.com/finance-and-economics/2025/05/08/why-gen-x-is-the-real-loser-generation
1•uberdru•1h ago•1 comments

Nvidia's RTX Pro 5000 Specs – Here's What Stands Out for Local LLM Work

https://www.hardware-corner.net/rtx-pro-5000-announced/
1•mdp2021•1h ago•0 comments

Explaining the Failures of Obesity Therapy

https://www.nature.com/articles/ijo2012114
1•paulpauper•1h ago•1 comments

You: "should I write a book?"

https://twitter.com/andytrattner_/status/1921799611674435868
1•andytratt•1h ago•0 comments

Flakes Have Failed

https://kilo.bytesize.xyz/flakes-have-failed
5•todsacerdoti•1h ago•0 comments

Highlights from the Comments on AI GeoGuessr

https://www.astralcodexten.com/p/highlights-from-the-comments-on-ai
1•paulpauper•1h ago•0 comments

Babies Are Born in Blood and Chaos

https://world.hey.com/tratt/babies-are-born-in-blood-and-chaos-5492924d
1•andytratt•1h ago•0 comments

Microsoft silently fixes Windows 10 Start Menu jump list bug

https://www.bleepingcomputer.com/news/microsoft/microsoft-silently-fixes-start-menu-bug-affecting-windows-10-pcs/
4•gray_amps•1h ago•0 comments

Stop Saying "Responsible Disclosure"

https://www.da.vidbuchanan.co.uk/blog/responsible-disclosure.html
4•Tomte•1h ago•0 comments

Winning Cluedo

https://bitsandtheorems.com/winning-cluedo/
1•thunderbong•1h ago•0 comments

Top New Artificial Intelligence Innovations in 2025

https://wilnickmagazine.com/5-new-artificial-intelligence-in-2025/
2•Wilnick•1h ago•2 comments