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

Comments

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

Ireland’s Diarmuid Early wins world Microsoft Excel title

https://www.bbc.com/news/articles/cj4qzgvxxgvo
106•1659447091•2h ago•41 comments

Backing Up Spotify

https://annas-archive.li/blog/backing-up-spotify.html
394•vitplister•3h ago•142 comments

Pure Silicon Demo Coding: No CPU, No Memory, Just 4k Gates

https://www.a1k0n.net/2025/12/19/tiny-tapeout-demo.html
229•a1k0n•5h ago•30 comments

Log level 'error' should mean that something needs to be fixed

https://utcc.utoronto.ca/~cks/space/blog/programming/ErrorsShouldRequireFixing
251•todsacerdoti•3d ago•166 comments

Big GPUs don't need big PCs

https://www.jeffgeerling.com/blog/2025/big-gpus-dont-need-big-pcs
88•mikece•4h ago•29 comments

I spent a week without IPv4 (2023)

https://www.apalrd.net/posts/2023/network_ipv6/
83•mahirsaid•3h ago•119 comments

Go ahead, self-host Postgres

https://pierce.dev/notes/go-ahead-self-host-postgres#user-content-fn-1
346•pavel_lishin•6h ago•247 comments

Gemini 3 Pro vs. 2.5 Pro in Pokemon Crystal

https://blog.jcz.dev/gemini-3-pro-vs-25-pro-in-pokemon-crystal
228•alphabetting•4d ago•66 comments

OpenSCAD is kinda neat

https://nuxx.net/blog/2025/12/20/openscad-is-kinda-neat/
156•c0nsumer•4h ago•114 comments

Biscuit is a specialized PostgreSQL index for fast pattern matching LIKE queries

https://github.com/CrystallineCore/Biscuit
43•eatonphil•4d ago•8 comments

Show HN: HN Wrapped 2025 - an LLM reviews your year on HN

https://hn-wrapped.kadoa.com?year=2025
71•hubraumhugo•8h ago•39 comments

NTP at NIST Boulder Has Lost Power

https://lists.nanog.org/archives/list/nanog@lists.nanog.org/message/ACADD3NKOG2QRWZ56OSNNG7UIEKKT...
400•lpage•14h ago•182 comments

MIRA – An open-source persistent AI entity with memory

https://github.com/taylorsatula/mira-OSS
9•taylorsatula•1h ago•1 comments

Depot (YC W23) Is Hiring an Enterprise Support Engineer (Remote/US)

https://www.ycombinator.com/companies/depot/jobs/jhGxVjO-enterprise-support-engineer
1•jacobwg•4h ago

Immersa: Open-source Web-based 3D Presentation Tool

https://github.com/ertugrulcetin/immersa
119•simonpure•8h ago•17 comments

X-59 3D Printing

https://www.nasa.gov/stem-content/x-59-3d-printing/
25•Jsebast24•4d ago•2 comments

The Graffiti Question

https://www.guernicamag.com/the-graffiti-question/
5•bryanrasmussen•5d ago•3 comments

You have reached the end of the internet (2006)

https://hmpg.net/
54•raytopia•5h ago•7 comments

Skills Officially Comes to Codex

https://developers.openai.com/codex/skills/
217•rochansinha•14h ago•114 comments

Detailed balance in large language model-driven agents

https://arxiv.org/abs/2512.10047
31•Anon84•4d ago•3 comments

Why do people leave comments on OpenBenches?

https://shkspr.mobi/blog/2025/12/why-do-people-leave-comments-on-openbenches/
57•sedboyz•6h ago•3 comments

CSS Grid Lanes

https://webkit.org/blog/17660/introducing-css-grid-lanes/
687•frizlab•1d ago•211 comments

Privacy doesn't mean anything anymore, anonymity does

https://servury.com/blog/privacy-is-marketing-anonymity-is-architecture/
336•ybceo•15h ago•223 comments

Mistral OCR 3

https://mistral.ai/news/mistral-ocr-3
660•pember•2d ago•119 comments

Mathematicians don't care about foundations (2022)

https://matteocapucci.wordpress.com/2022/12/21/mathematicians-dont-care-about-foundations/
19•scrivanodev•4h ago•19 comments

Charles Proxy

https://www.charlesproxy.com/
280•handfuloflight•16h ago•102 comments

Shallow trees with heavy leaves (2020)

https://cp4space.hatsya.com/2020/12/13/shallow-trees-with-heavy-leaves/
8•HeliumHydride•5d ago•0 comments

Reflections on AI at the End of 2025

https://antirez.com/news/157
182•danielfalbo•12h ago•273 comments

Garage – An S3 object store so reliable you can run it outside datacenters

https://garagehq.deuxfleurs.fr/
680•ibobev•1d ago•153 comments

Show HN: Chart Preview – Preview environments for Helm charts on every PR

15•chartpreview•4h ago•1 comments