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

Comments

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

Meta’s renewed commitment to jemalloc

https://engineering.fb.com/2026/03/02/data-infrastructure/investing-in-infrastructure-metas-renew...
264•hahahacorn•3h ago•107 comments

The “small web” is bigger than you might think

https://kevinboone.me/small_web_is_big.html
236•speckx•4h ago•91 comments

Mistral Releases Leanstral

https://mistral.ai/news/leanstral
37•Poudlardo•53m ago•3 comments

My Journey to a reliable and enjoyable locally hosted voice assistant (2025)

https://community.home-assistant.io/t/my-journey-to-a-reliable-and-enjoyable-locally-hosted-voice...
272•Vaslo•8h ago•89 comments

Language Model Teams as Distrbuted Systems

https://arxiv.org/abs/2603.12229
51•jryio•4h ago•17 comments

Why I love FreeBSD

https://it-notes.dragas.net/2026/03/16/why-i-love-freebsd/
296•enz•10h ago•121 comments

Nvidia Launches Vera CPU, Purpose-Built for Agentic AI

https://nvidianews.nvidia.com/news/nvidia-launches-vera-cpu-purpose-built-for-agentic-ai
72•lewismenelaws•1h ago•44 comments

AnswerThis (YC F25) Is Hiring

https://www.ycombinator.com/companies/answerthis/jobs/CNdatw5-founding-engineering-lead
1•ayush4921•53m ago

Show HN: Claude Code skills that build complete Godot games

https://github.com/htdt/godogen
80•htdt•5h ago•28 comments

Launch HN: Voygr (YC W26) – A better maps API for agents and AI apps

52•ymarkov•5h ago•31 comments

Apideck CLI – An AI-agent interface with much lower context consumption than MCP

https://www.apideck.com/blog/mcp-server-eating-context-window-cli-alternative
102•gertjandewilde•6h ago•95 comments

Polymarket gamblers threaten to kill me over Iran missile story

https://www.timesofisrael.com/gamblers-trying-to-win-a-bet-on-polymarket-are-vowing-to-kill-me-if...
1159•defly•9h ago•759 comments

Starlink Mini as a failover

https://www.jackpearce.co.uk/posts/starlink-failover/
137•jkpe•13h ago•135 comments

On The Need For Understanding

https://blog.information-superhighway.net/on-the-need-for-understanding
45•zdw•4d ago•17 comments

Corruption erodes social trust more in democracies than in autocracies

https://www.frontiersin.org/journals/political-science/articles/10.3389/fpos.2026.1779810/full
607•PaulHoule•10h ago•308 comments

US Job Market Visualizer

https://karpathy.ai/jobs/
360•andygcook•6h ago•280 comments

Home Assistant waters my plants

https://finnian.io/blog/home-assistant-waters-my-plants/
227•finniananderson•4d ago•117 comments

Lazycut: A simple terminal video trimmer using FFmpeg

https://github.com/emin-ozata/lazycut
128•masterpos•9h ago•42 comments

Cert Authorities Check for DNSSEC from Today

https://www.grepular.com/Cert_Authorities_Check_for_DNSSEC_From_Today
73•zdw•23h ago•135 comments

AirPods Max 2

https://www.apple.com/airpods-max/
148•ssijak•8h ago•275 comments

Kona EV Hacking

http://techno-fandom.org/~hobbit/cars/ev/
102•AnnikaL•5d ago•60 comments

Lies I was told about collaborative editing, Part 2: Why we don't use Yjs

https://www.moment.dev/blog/lies-i-was-told-pt-2
165•antics•3d ago•92 comments

Launch HN: Chamber (YC W26) – An AI Teammate for GPU Infrastructure

https://www.usechamber.io/
18•jshen96•4h ago•4 comments

MoD sources warn Palantir role at heart of government is threat to UK security

https://www.thenerve.news/p/palantir-technologies-uk-mod-sources-government-data-insights-securit...
532•vrganj•9h ago•212 comments

The bureaucracy blocking the chance at a cure

https://www.writingruxandrabio.com/p/the-bureaucracy-blocking-the-chance
59•item•1d ago•87 comments

Speed at the cost of quality: Study of use of Cursor AI in open source projects (2025)

https://arxiv.org/abs/2511.04427
76•wek•4h ago•32 comments

Comparing Python Type Checkers: Typing Spec Conformance

https://pyrefly.org/blog/typing-conformance-comparison/
81•ocamoss•9h ago•30 comments

Even faster asin() was staring right at me

https://16bpp.net/blog/post/even-faster-asin-was-staring-right-at-me/
95•def-pri-pub•9h ago•46 comments

Palestinian boy, 12, describes how Israeli forces killed his family in car

https://www.bbc.com/news/articles/c70n2x7p22do
665•tartoran•3h ago•189 comments

Where does engineering go? Retreat findings and insights [pdf]

https://www.thoughtworks.com/content/dam/thoughtworks/documents/report/tw_future%20_of_software_d...
70•danebalia•5d ago•24 comments