frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

JEP 515: Ahead-of-Time Method Profiling

https://openjdk.org/jeps/515
101•cempaka•1y ago

Comments

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

Inkling-2-Mini in 5.4 GB Memory

https://github.com/ShinMegamiBoson/lookatmyquant
162•k__•2h ago•25 comments

Lean verification of the Riemann Hypothesis

https://leanprover-community.github.io/blog/posts/riemann-hypothesis/
575•g-b-r•5h ago•440 comments

Detonating a pile of lead azide

https://www.science.org/content/blog-post/detonating-huge-pile-lead-azide-really
404•beginning_end•6h ago•271 comments

Brazil's tax authority open-sources its tax calculator on GitHub under MIT

https://www.gov.br/receitafederal/pt-br/assuntos/noticias/2026/novembro/receita-federal-publica-p...
572•dvaplima•4d ago•189 comments

PostgreSQL Extensions in Go

https://jespino.github.io/gopgext/
70•valyala•2h ago•5 comments

My monitor was cutting my download speed by 75%

https://blog.tymscar.com/posts/studiodisplayethernet/
359•soheilpro•9h ago•187 comments

Hurried Announcement: Alessandro Masullo GRH

https://math216.wordpress.com/2026/11/20/hurried-announcement-alessandro-masullo-grh/
2340•jasondavies•1d ago•1122 comments

Verification files for the Lean proof of the Riemann Hypothesis

https://math.mit.edu/~drew/grh/
50•Bluestein•4h ago•16 comments

Show HN: Zero C# – C# without a runtime or GC

https://onurgumus.github.io/zero-csharp/index.html
73•reverseblade2•4h ago•53 comments

Tropical Rainforests Species may be surprisingly young

https://phys.org/news/2026-11-species-tropical-rainforests-young-emergence.html
11•PaulHoule•4d ago•6 comments

Inkling 2 Mini

https://thinkingmachines.ai/news/inkling-2-mini/
1297•jasondavies•23h ago•268 comments

I'm quite pleased by the tech architecture of my art website

https://klauria.tech/klauria-art/
98•evakhoury•1d ago•19 comments

RCE in Gnupg

https://lists.gnupg.org/pipermail/gnupg-announce/2026q4/000517.html
192•gdgghhhhh•11h ago•68 comments

Upload2Shell · CVE-2026-125396

https://pwn.ai/upload2shell
15•f311a•1h ago•4 comments

How I made a custom game engine for Satelital

https://spectralorbit.com/blog/satelital_game_engine
14•todsacerdoti•3d ago•1 comments

Pill to treat pancreatic cancer hailed as 'biggest breakthrough in decades'

https://www.theguardian.com/society/2026/nov/20/pill-pancreatic-cancer-breakthrough-daraxonrasib
3•rafaelc•23h ago•0 comments

Why there are still no non-WebKit browsers on iOS

https://blog.mozilla.org/en/mozilla/internet-policy/apple-ios-browser-engine-rules/
372•lapcat•1d ago•220 comments

Ask HN: I have been unemployed for 2y. 15 years of experience, US. What to do?

509•LetThingsBeDiff•20h ago•566 comments

Deterministic Simulation Testing Is for Everyone

https://outdata.net/blog/261120
56•pgraug•1d ago•6 comments

LLMs can read and write executables byte by byte from a hex dump

https://sgiannopoulos.github.io/blog/machine-code-programming/
133•fortran77•3d ago•98 comments

We promoted developers into architects without informing them

https://manidoraisamy.com/developer-to-architect.html
554•QueensGambit•1d ago•301 comments

Show HN: An ASCII cell aquarium for your terminal

https://github.com/kborer/cells/
29•kborer•3d ago•11 comments

Jensen Huang's fall is bad news for Silicon Valley's accelerationists

https://www.economist.com/business/2026/11/19/jensen-huangs-fall-is-bad-news-for-silicon-valleys-...
123•andsoitis•2h ago•210 comments

The Soviet Elektronika BK-0010 home computer built on a clone of the PDP-11 CPU

https://8bitarchitect.net/machines/elektronika-bk-0010/
40•andrewstuart•4d ago•12 comments

Unforced Navier-Stokes Singularity and the Generalized Riemann Hypothesis

https://terrytao.wordpress.com/2026/11/20/unforced-euler-singularity-unforced-navier-stokes-singu...
518•archon1410•1d ago•228 comments

Levent Alpöge claims proof of the Generalized Riemann Hypothesis [pdf]

https://alpo.ge/remark.pdf
2841•iamronaldo•1d ago•2014 comments

NINLIVE: The Nine Inch Nails live archive

https://ninlive.com/
340•CharlesW•21h ago•95 comments

ClawDOS – An AI coding agent for DOS

http://ricapar.net/ClawDOS/
142•Ricapar•14h ago•44 comments

Clojure will affect the way you think about programming (2017)

https://eli.thegreenplace.net/2017/clojure-the-perfect-language-to-expand-your-brain/
181•sammatilda•17h ago•84 comments

Astra 6.2 and Sol 6.2 flop at Simple Bench

https://simple-bench.com/
144•algoth1•6h ago•138 comments