frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

JEP 515: Ahead-of-Time Method Profiling

https://openjdk.org/jeps/515
96•cempaka•21h ago

Comments

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

I ruined my vacation by reverse engineering WSC

https://blog.es3n1n.eu/posts/how-i-ruined-my-vacation/
224•todsacerdoti•8h ago•102 comments

Plain Vanilla Web

https://plainvanillaweb.com/index.html
1136•andrewrn•19h ago•524 comments

Continuous Thought Machines

https://pub.sakana.ai/ctm/
194•hardmaru•9h ago•17 comments

Armbian Updates: OMV support, boot improvents, Rockchip optimizations

https://www.armbian.com/newsflash/armbian-updates-nas-support-lands-boot-systems-improve-and-rockchip-optimizations-arrive/
29•transpute•4h ago•1 comments

Intellect-2 Release: The First 32B Model Trained Through Globally Distributed RL

https://www.primeintellect.ai/blog/intellect-2-release
140•Philpax•10h ago•42 comments

Spark AI (YC W24) Is Hiring a Full Stack Engineer in San Francisco

https://www.ycombinator.com/companies/spark/jobs/kDeJlPK-software-engineer-full-stack
1•tk90•51s ago

Making PyPI's test suite 81% faster – The Trail of Bits Blog

https://blog.trailofbits.com/2025/05/01/making-pypis-test-suite-81-faster/
75•rbanffy•3d ago•19 comments

Dart added support for cross-compilation

https://dart.dev/tools/dart-compile#cross-compilation-exe
36•Alifatisk•3d ago•28 comments

Car companies are in a billion-dollar software war

https://insideevs.com/features/759153/car-companies-software-companies/
364•rntn•18h ago•621 comments

Why Bell Labs Worked

https://1517.substack.com/p/why-bell-labs-worked
234•areoform•15h ago•168 comments

Absolute Zero Reasoner

https://andrewzh112.github.io/absolute-zero-reasoner/
86•jonbaer•4d ago•16 comments

Show HN: Vom Decision Platform (Cursor for Decision Analyst)

https://www.vomdecision.com
8•davidreisbr•3d ago•4 comments

High-school shop students attract skilled-trades job offers

https://www.wsj.com/lifestyle/careers/skilled-trades-high-school-recruitment-fd9f8257
203•lxm•20h ago•328 comments

The Academic Pipeline Stall: Why Industry Must Stand for Academia

https://www.sigarch.org/the-academic-pipeline-stall-why-industry-must-stand-for-academia/
108•MaysonL•9h ago•82 comments

Ask HN: Cursor or Windsurf?

165•skarat•7h ago•218 comments

Scraperr – A Self Hosted Webscraper

https://github.com/jaypyles/Scraperr
200•jpyles•17h ago•68 comments

Writing an LLM from scratch, part 13 – attention heads are dumb

https://www.gilesthomas.com/2025/05/llm-from-scratch-13-taking-stock-part-1-attention-heads-are-dumb
289•gpjt•3d ago•57 comments

Title of work deciphered in sealed Herculaneum scroll via digital unwrapping

https://www.finebooksmagazine.com/fine-books-news/title-work-deciphered-sealed-herculaneum-scroll-digital-unwrapping
215•namanyayg•21h ago•100 comments

One-Click RCE in Asus's Preinstalled Driver Software

https://mrbruh.com/asusdriverhub/
478•MrBruh•1d ago•229 comments

How friction is being redistributed in today's economy

https://kyla.substack.com/p/the-most-valuable-commodity-in-the
217•walterbell•3d ago•99 comments

LSP client in Clojure in 200 lines of code

https://vlaaad.github.io/lsp-client-in-200-lines-of-code
148•vlaaad•18h ago•21 comments

US Copyright Office found AI companies breach copyright. Its boss was fired

https://www.theregister.com/2025/05/12/us_copyright_office_ai_copyright/
14•croes•2h ago•0 comments

ToyDB rewritten: a distributed SQL database in Rust, for education

https://github.com/erikgrinaker/toydb
100•erikgrinaker•16h ago•13 comments

Burrito Now, Pay Later

https://enterprisevalue.substack.com/p/burrito-now-pay-later
139•gwintrob•15h ago•238 comments

Show HN: Codigo – The Programming Language Repository

https://codigolangs.com
45•adamjhf•2d ago•13 comments

A formatter for your kdl files

https://github.com/hougesen/kdlfmt
5•riegerj•3d ago•2 comments

A simple 16x16 dot animation from simple math rules

https://tixy.land
463•andrewrn•2d ago•91 comments

Lazarus Release 4.0

https://forum.lazarus.freepascal.org/index.php?topic=71050.0
251•proxysna•5d ago•139 comments

Avoiding AI is hard – but our freedom to opt out must be protected

https://theconversation.com/avoiding-ai-is-hard-but-our-freedom-to-opt-out-must-be-protected-255873
185•gnabgib•11h ago•107 comments

3D printing in vivo for non-surgical implants and drug delivery

https://www.science.org/doi/10.1126/science.adt0293
23•Phreaker00•1d ago•5 comments