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

Comments

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

Capital One to acquire Brex for $5.15B

https://www.reuters.com/legal/transactional/capital-one-buy-fintech-firm-brex-515-billion-deal-20...
263•personjerry•8h ago•184 comments

GPTZero finds 100 new hallucinations in NeurIPS 2025 accepted papers

https://gptzero.me/news/neurips/
785•segmenta•14h ago•423 comments

Show HN: isometric.nyc – giant isometric pixel art map of NYC

https://cannoneyed.com/isometric-nyc/
798•cannoneyed•13h ago•168 comments

I built a light that reacts to radio waves [video]

https://www.youtube.com/watch?v=moBCOEiqiPs
6•codetheweb•39m ago•0 comments

Talking to LLMs has improved my thinking

https://philipotoole.com/why-talking-to-llms-has-improved-my-thinking/
43•otoolep•2h ago•20 comments

Why does SSH send 100 packets per keystroke?

https://eieio.games/blog/ssh-sends-100-packets-per-keystroke/
387•eieio•10h ago•235 comments

I was banned from Claude for scaffolding a Claude.md file?

https://hugodaniel.com/posts/claude-code-banned-me/
448•hugodan•11h ago•344 comments

Qwen3-TTS family is now open sourced: Voice design, clone, and generation

https://qwen.ai/blog?id=qwen3tts-0115
535•Palmik•16h ago•171 comments

Turso is an in-process SQL database, compatible with SQLite

https://github.com/tursodatabase/turso
85•marklit•3d ago•48 comments

Bugs Apple Loves

https://www.bugsappleloves.com
382•nhod•3h ago•131 comments

TI-99/4A: Leaning More on the Firmware

https://bumbershootsoft.wordpress.com/2026/01/17/ti-99-4a-leaning-more-heavily-on-the-firmware/
5•ibobev•4d ago•0 comments

Douglas Adams on the English–American cultural divide over "heroes"

https://shreevatsa.net/post/douglas-adams-cultural-divide/
392•speckx•16h ago•387 comments

Improving the usability of C libraries in Swift

https://www.swift.org/blog/improving-usability-of-c-libraries-in-swift/
84•timsneath•6h ago•3 comments

Writing First, Tooling Second

https://susam.net/writing-first-tooling-second.html
8•blenderob•3d ago•0 comments

Captive Wi-Fi

https://en.wikipedia.org/wiki/Captive_portal
17•nomilk•4d ago•14 comments

Scaling PostgreSQL to power 800M ChatGPT users

https://openai.com/index/scaling-postgresql/
118•mustaphah•8h ago•41 comments

Your app subscription is now my weekend project

https://rselbach.com/your-sub-is-now-my-weekend-project
291•robteix•4d ago•210 comments

Why medieval city-builder video games are historically inaccurate (2020)

https://www.leidenmedievalistsblog.nl/articles/why-medieval-city-builder-video-games-are-historic...
96•benbreen•5h ago•55 comments

Launch HN: Constellation Space (YC W26) – AI for satellite mission assurance

35•kmajid•13h ago•15 comments

The lost art of XML

https://marcosmagueta.com/blog/the-lost-art-of-xml/
50•Curiositry•2h ago•45 comments

CSS Optical Illusions

https://alvaromontoro.com/blog/68091/css-optical-illusions
162•ulrischa•12h ago•14 comments

Show HN: Text-to-video model from scratch (2 brothers, 2 years, 2B params)

https://huggingface.co/collections/Linum-AI/linum-v2-2b-text-to-video
65•schopra909•13h ago•12 comments

'Askers' vs. 'Guessers' (2010)

https://www.theatlantic.com/national/2010/05/askers-vs-guessers/340891/
112•BoorishBears•18h ago•72 comments

Composing APIs and CLIs in the LLM era

https://walters.app/blog/composing-apis-clis
48•zerf•12h ago•11 comments

United States Completes WHO Withdrawal

https://www.hhs.gov/press-room/united-states-completes-who-withdrawal.html
55•Swizec•1h ago•7 comments

Recent discoveries on the acquisition of the highest levels of human performance

https://www.science.org/doi/abs/10.1126/science.adt7790
119•colincooke•12h ago•56 comments

Stunnel

https://www.stunnel.org/
51•firesteelrain•5h ago•14 comments

'Active' sitting is better for brain health: review of studies

https://www.sciencealert.com/not-all-sitting-is-equal-one-type-was-just-linked-to-better-brain-he...
89•mikhael•11h ago•34 comments

In Europe, wind and solar overtake fossil fuels

https://e360.yale.edu/digest/europe-wind-solar-fossil-fuels
537•speckx•15h ago•548 comments

Show HN: BrowserOS – "Claude Cowork" in the browser

https://github.com/browseros-ai/BrowserOS
52•felarof•13h ago•23 comments