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

Comments

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

Back to FreeBSD: Part 1

https://hypha.pub/back-to-freebsd-part-1
83•enz•5h ago•25 comments

Show HN: Elecxzy – A lightweight, Lisp-free Emacs-like editor in Electron

https://github.com/kurouna/elecxzy
18•kurouna•1d ago•28 comments

How Taalas “prints” LLM onto a chip?

https://www.anuragk.com/blog/posts/Taalas.html
200•beAroundHere•17h ago•98 comments

How I use Claude Code: Separation of planning and execution

https://boristane.com/blog/how-i-use-claude-code/
639•vinhnx•12h ago•400 comments

Japanese Woodblock Print Search

https://ukiyo-e.org/
126•curmudgeon22•9h ago•23 comments

How far back in time can you understand English?

https://www.deadlanguagesociety.com/p/how-far-back-in-time-understand-english
580•spzb•3d ago•318 comments

Show HN: Llama 3.1 70B on a single RTX 3090 via NVMe-to-GPU bypassing the CPU

https://github.com/xaskasdf/ntransformer
280•xaskasdf•15h ago•67 comments

Gamedate – A site to revive dead multiplayer games

https://gamedate.org/
163•msuniverse2026•1d ago•22 comments

Two Bits Are Better Than One: making bloom filters 2x more accurate

https://floedb.ai/blog/two-bits-are-better-than-one-making-bloom-filters-2x-more-accurate
130•matheusalmeida•5d ago•21 comments

Unreal Numbers

https://lcamtuf.substack.com/p/unreal-numbers
24•surprisetalk•5d ago•0 comments

Evidence of the bouba-kiki effect in naïve baby chicks

https://www.science.org/doi/10.1126/science.adq7188
150•suddenlybananas•15h ago•44 comments

Parse, Don't Validate and Type-Driven Design in Rust

https://www.harudagondi.space/blog/parse-dont-validate-and-type-driven-design-in-rust/
208•todsacerdoti•17h ago•50 comments

What's the best way to learn a new language?

https://www.bbc.com/future/article/20260220-whats-the-best-way-to-learn-a-new-language
17•1659447091•5h ago•9 comments

Claws are now a new layer on top of LLM agents

https://twitter.com/karpathy/status/2024987174077432126
324•Cyphase•1d ago•764 comments

A Botnet Accidentally Destroyed I2P

https://www.sambent.com/a-botnet-accidentally-destroyed-i2p-the-full-story/
122•Cider9986•11h ago•78 comments

CXMT has been offering DDR4 chips at about half the prevailing market rate

https://www.koreaherald.com/article/10679206
216•phront•22h ago•198 comments

How I launched 3 consoles and found true love at Babbage's store no. 9 (2013)

https://arstechnica.com/gadgets/2013/01/how-i-launched-3-consoles-and-found-true-love-at-babbages...
27•zepearl•2d ago•11 comments

zclaw: personal AI assistant in under 888 KB, running on an ESP32

https://github.com/tnm/zclaw
195•tosh•1d ago•112 comments

Toyota’s hydrogen-powered Mirai has experienced rapid depreciation

https://carbuzz.com/toyota-mirai-massive-depreciation-one-year/
153•iancmceachern•18h ago•359 comments

Coccinelle: Source-to-source transformation tool

https://github.com/coccinelle/coccinelle
104•anon111332142•1d ago•29 comments

Carelessness versus craftsmanship in cryptography

https://blog.trailofbits.com/2026/02/18/carelessness-versus-craftsmanship-in-cryptography/
46•ingve•4d ago•10 comments

I verified my LinkedIn identity. Here's what I handed over

https://thelocalstack.eu/posts/linkedin-identity-verification-privacy/
1314•ColinWright•1d ago•449 comments

The Biophysical World Inside a Jam-Packed Cell

https://www.quantamagazine.org/the-biophysical-world-inside-a-jam-packed-cell-20260218/
3•tzury•3d ago•0 comments

Canvas_ity: A tiny, single-header <canvas>-like 2D rasterizer for C++

https://github.com/a-e-k/canvas_ity
107•PaulHoule•18h ago•35 comments

A16z partner says that the theory that we’ll vibe code everything is wrong

https://www.aol.com/articles/a16z-partner-says-theory-well-050150534.html
157•paulpauper•1d ago•220 comments

Scientists discover recent tectonic activity on the moon

https://phys.org/news/2026-02-scientists-tectonic-moon.html
61•bookmtn•4d ago•6 comments

Keep Android Open

https://f-droid.org/2026/02/20/twif.html
2117•LorenDB•1d ago•703 comments

ReferenceFinder: Find coordinates on a piece of paper with only folds

https://mutsuntsai.github.io/reference-finder/
8•icwtyjj•3d ago•0 comments

The Human Root of Trust – public domain framework for agent accountability

https://humanrootoftrust.org/
21•3du4rd0v3g4•22h ago•10 comments

Don't create .gitkeep files, use .gitignore instead (2023)

https://adamj.eu/tech/2023/09/18/git-dont-create-gitkeep/
160•frou_dh•1d ago•86 comments