frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

JEP 544: Ahead-of-Time Code Compilation

https://openjdk.org/jeps/544
10•Skinney•1h ago

Comments

java-man•57m ago
I hope at some point we'll get AOT-only mode (or compile to native) and maybe even cross-compilation.
invalidname•43m ago
We have that in Codename One, yes it's not really "Java" but it compiles bytecode AOT and cross compiles to some of the platforms.
nirvdrum•20m ago
If you haven't checked it out yet, GraalVM's Native Image [1] already let's do AOT compilation suitable for distribution. You have to do some configuration to deal with reflection and dynamic class loading since there's no JVM in the produced build, but it comes with tooling to simplify that. And that restriction is being addressed by Project Crema [2].

[1] -- https://www.graalvm.org/latest/reference-manual/native-image... [2] -- https://github.com/oracle/graal/issues/11327

exabrial•7m ago
progress, not perfection! Java is on fire right now with new stuff landing. We'll get there!
cyberax•37m ago
Excelsior JET did that 25 years ago: https://en.wikipedia.org/wiki/Excelsior_JET

It's a shame that Sun/Oracle never partnered with them to bring native apps. This could have saved Java on the desktop.

patwolf•36m ago
IBM's J9 had AOT for a long time too. I wonder how JEP 544 compares.
SillyUsername•26m ago
So we've gone full circle again?

I suppose write once run anywhere is no longer a goal either.

"It is not a goal to support all CPU architectures currently supported by HotSpot."

This pretty much validates the point of view that VM design is now baggage, as a sandbox it has been flawed, for performance it's been prohibitive, and cross platform portability by virtue of being virtual, was just a convenient byproduct.

AI now handles the portability, sandbox security hasn't changed (cf. docker still has sandbox problems, LLMs have sandbox problems, it's always an ongoing concern) and that just leaves Java, as always, chasing performance.

nirvdrum•14m ago
The very next sentence after the one you posted is "We expect normal porting activities to eventually add support for all major architectures." Goals and non-goals inform the scope of the proposal. Given this is effectively an "add-on", I don't think it's unreasonable to prioritize the most popular platforms. Others will continue to execute Java perfectly fine in JVM mode.

Rust is tier-1 language at Microsoft

https://rustfoundation.org/media/guest-post-rust-is-tier-1-language-at-microsoft/
399•mmastrac•5h ago•210 comments

Cognition launches new SWE-2 model, Rivaling Fable 5.1 and GPT-Astra

https://cognition.com/blog/swe-2
163•seelos•3h ago•87 comments

I have a theory that software drives people insane

https://graybeard.ing/software-drives-people-insane/
128•rglover•2h ago•59 comments

More questions about whether researchers can trust OpenAI with unpublished math

https://mathstodon.xyz/@andreasthom/117240535270608201
258•pred_•11h ago•391 comments

NASA Color Trick Was Meant for Mars. Now It's Unveiling Rock Art on Earth

https://gizmodo.com/this-nasa-color-trick-was-meant-for-mars-now-its-unveiling-rock-art-on-earth-...
107•gumby•3h ago•16 comments

Shopify moves back to Native from React Native

https://shopify.engineering/back-to-native
507•fnthawar2•4h ago•360 comments

Neki

https://planetscale.com/blog/introducing-neki
111•simon_weber•2h ago•40 comments

Forgejo <=16.0.3 Critical RCE

https://codeberg.org/forgejo/forgejo/src/branch/forgejo/release-notes-published/16.0.4.md
53•weierstass•2h ago•24 comments

Douglas Hofstadter: Analogy as the Core of Cognition [video]

https://www.youtube.com/watch?v=n8m7lFQ3njk
57•tosh•4d ago•25 comments

Music Theory for the 21st-Century Classroom

https://musictheory.pugetsound.edu/mt21c/MusicTheory.html
18•aanet•1h ago•4 comments

Silicon Valley Is Transforming the Military-Industrial Complex

https://costsofwar.watson.brown.edu/paper/how-big-tech-and-silicon-valley-are-transforming-milita...
59•paimapi•2h ago•80 comments

Hitachi launches CO2 heat pump water heaters with solar-friendly tariff controls

https://www.pv-magazine.com/2026/09/07/hitachi-launches-co2-heat-pump-water-heaters-with-solar-fr...
231•thelastgallon•1d ago•193 comments

>10x More Efficient Pretraining

https://magic.dev/blog/pretraining#
86•ronfriedhaber•2d ago•46 comments

Neki is sharded Postgres by PlanetScale

https://neki.dev/
80•handfuloflight•2h ago•20 comments

DeepSeek v4.1 Flash

https://twitter.com/deepseek_ai/status/2097930608790167907
821•Liwink•12h ago•457 comments

Cognition's SWE-2 achieves 92.8 on Terminal-Bench 2.1

https://tokenstead.ai/models/swe-2
15•cdnsteve•1h ago•4 comments

What algorithm did Windows XP use to choose your initial user picture?

https://devblogs.microsoft.com/oldnewthing/20260909-00/?p=112683
289•soheilpro•9h ago•141 comments

List of references on Sony websites to players "owning" their digital games

https://consumerrights.wiki/w/Sony_PlayStation_digital_game_ownership_lawsuit
266•haunter•6h ago•88 comments

Macbeth and His Problems

https://porticoquarterly.com/essay/macbeth-and-his-problems/
60•apophatic•2d ago•23 comments

Casablanca: How an unproduced play marched into movie history

https://www.thecollector.com/casablanca-unproduced-play-movie-history/
33•mdp2021•2h ago•10 comments

Python sets and dictionaries can have quadratic-time performance

https://lemire.me/blog/2026/09/03/python-sets-and-dictionaries-can-have-quadratic-time-performance/
51•ibobev•2d ago•22 comments

Stockfish 19

https://stockfishchess.org/blog/2026/stockfish-19/
224•atiedebee•3d ago•130 comments

iPhone Duo

https://www.apple.com/iphone-duo/
1360•thecosmicfrog•1d ago•2372 comments

JEP 544: Ahead-of-Time Code Compilation

https://openjdk.org/jeps/544
10•Skinney•1h ago•8 comments

To write non-fiction, draw the trunk, then the rest of the tree

https://devz.cl/posts/how-to-write/
63•DanielVZ•2d ago•21 comments

Show HN: DOOM in the kernel, or fibers in eBPF

https://ayles.github.io/doom-in-kernel/
13•ayles•1d ago•5 comments

The Four-Color Theorem Gets a Rare New Proof

https://www.quantamagazine.org/the-four-color-theorem-gets-a-rare-new-proof-20260910/
19•pavel_lishin•3h ago•4 comments

Show HN: MultiMatte, a Promptable Image Background Removal Model

https://usefeyn.com/blog/multimatte/
10•snyy•2h ago•4 comments

Show HN: Syq – copy files between machines fast (better than rsync)

https://greaber.github.io/syq/
21•greaber•3h ago•25 comments

AI 2027 (2025)

https://ai-2027.com
17•gafferongames•4h ago•8 comments