frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Java's new AOT cache feature is in a rough state

https://xpipe.io/blog/java-aot-cache
20•theanonymousone•3d ago

Comments

JMKH42•30m ago
I wonder if you could do the training run on install, so that each user gets a build tied to their specific cpu?
lazystone•19m ago
> In theory, the whole AOT cache idea sounds like something that should only affect the class data and not perform any native compilation

https://openjdk.org/jeps/544

> Non-Goals

> It is not a goal to support cross-compilation. Code compiled in a training run must run on the same CPU architecture, with the same set of features, in subsequent production runs.

florieger•13m ago
I wonder if this should trigger a warning (or even an error) at application startup whenever the CPU architectures differ.

IMHO, that would be much better than running into crashes and having to figure out the cause yourself.

_old_dude_•17m ago
The Inside Java podcast episode on AOT caching covers the issue in this segment:

https://youtu.be/U2j4bKgKr-s?t=3577

jiehong•7m ago
When AOT came to be, I kinda hoped for GraalVM's solution would make it relatively as-is to open jdk.

Instead, this AOT feature is not very ergonomic to use at all, with too many pitfalls to be of broad use IMO.

deepsun•6m ago
> What would be needed is some sort of compatibility switch that disables all optional CPU features. Sure, you will get some reduced performance of the compiled code, but in exchange, a faster startup time.

I think other AOT-compiled languages don't opt in for the lowest set of CPU features -- they just detect them at runtime and use whenever present, all in compiled machine code.

mikepurvis•2m ago
It's normally an opt-in thing I think, since you have to figure out how/where to trade off binary bloat vs the cost of dynamic dispatch:

https://doc.rust-lang.org/beta/core/arch/#dynamic-cpu-featur...

Mistral Large 4 (Le Chonk) is now Open Weight

https://mistral.ai/news/mistral-large-4-oss/
125•kuberwastaken•29m ago•26 comments

Gemini 4 Carbon is the new #1 on the Artificial Analysis Intelligence Index v5

https://artificialanalysis.ai/articles/gemini-4-carbon-new-number-1
183•theHocineSaad•2h ago•137 comments

Read the letter the FBI sent MLK to try to convince him to kill himself (2014)

https://www.vox.com/xpress/2014/11/12/7204453/martin-luther-king-fbi-letter
150•surprisetalk•1h ago•76 comments

Chained PHP2Shell Exploit Roots 25 Servers, Including US Government Servers

https://dreamgroup.com/blog/chained-php2shell-exploit-roots-25-servers
73•882542F3884314B•3h ago•31 comments

Qwenputer: A functioning, deterministic RISC-V CPU inside Qwen3.5

https://divagr.com/blog/qwenputer
606•csmantle•14h ago•128 comments

Zero click, silent, remote Android DoS

https://smsofdeath.com/
217•MarkBlah•7h ago•121 comments

Java's new AOT cache feature is in a rough state

https://xpipe.io/blog/java-aot-cache
21•theanonymousone•3d ago•7 comments

Why is this fingerprinting script creating bioweapons?

https://nullpt.rs/fingerprinting-bioweapons
1431•hazebooth•21h ago•267 comments

Google determines the names for bodies of water in Google Earth (2008)

https://publicpolicy.googleblog.com/2008/04/how-google-determines-names-for-bodies.html
108•terminalbraid•3h ago•89 comments

The US added a record 20.2 GWh of battery storage in just 3 months

https://electrek.co/2026/08/31/the-us-added-a-record-20-2-gwh-of-battery-storage-in-just-3-months/
170•ljf•3h ago•106 comments

Getting debug access on a Brother printer over Telnet

https://inventor7777.github.io/blog/2026/10/22/debug-access-on-brother/
116•inventor7777•3d ago•33 comments

Southern Africa's first known stenciled rock art found hiding in plain sight

https://phys.org/news/2026-10-southern-africa-stenciled-art-plain.html
24•wglb•2d ago•5 comments

Hackers expose the identities of more than 40k DHS employees

https://text.npr.org/nx-s1-6021497
111•firefax•2h ago•22 comments

DoorDash to Acquire Instacart

https://ir.doordash.com/news/news-details/2026/DoorDash-to-Acquire-Instacart-to-Help-Local-Stores...
117•WalterSobchak•2h ago•89 comments

Forging a Microsoft Edge Full Chain with Logic Bugs Only

https://blog.orange.tw/posts/2026-10-the-last-proof-of-human-craft-browser-full-chain/
172•austinallegro•7h ago•28 comments

MiniLake Is a Local Databricks API Emulator with SQL, Delta Lake and Spark

https://dmux.github.io/minilake/
66•kermatt•2d ago•12 comments

NetBSD adds a new beginner-friendly text editor called atto

https://mastodon.sdf.org/@netbsd/117518160563539748
70•luke8086•2h ago•62 comments

StackOverflow now gets fewer than 1000 questions a month

https://data.stackexchange.com/stackoverflow/query/1926661#graph?t=1
631•babelfish•15h ago•526 comments

I Used AI to Fake a Scientific Paper. Here's What Happened

https://spectrum.ieee.org/ai-generated-scientific-papers
30•pseudolus•4h ago•18 comments

If IPv4 Were Land

https://iptrust.co/blog/if-ipv4-were-land
116•rokostik•2h ago•95 comments

A Health Update

https://furbo.org/2026/10/28/a-health-update/
316•frizlab•17h ago•48 comments

OpenAI's agents talked to each other through the CPU Cache

https://the-decoder.com/openais-isolated-ai-agents-found-ways-to-talk-to-each-other-through-cpu-c...
284•limbicsystem•2d ago•203 comments

Requests, Please

https://morronel.github.io/requests_please/
55•sysoleg•3d ago•12 comments

GitLab Security Incident: Attempted Exploitation of CVE-2026-97229

https://alpinelinux.org/posts/GitLab-security-incident-CVE-2026-97229.html
218•sashk•14h ago•101 comments

CNC Stone Carving

https://carmelitegothic.com/cnc-stone-carving/
499•bschne•1d ago•137 comments

A new faster algorithm to compute 64-bit signed floor division

https://www.benjoffe.com/fast-floordiv
119•benjoffe•2d ago•10 comments

The Grid, a factory-scale robot in Massachusetts that builds PCBs on demand

https://www.circuithub.com/post/unveiling-the-grid
538•seddona•3d ago•242 comments

Claude Code regularly sends each background agent’s transcript to its model

https://gist.github.com/flamerix-ai/c3905705cc4205e5de3011fa2e74efce
498•NikZaal•11h ago•202 comments

Why birds can fly over Mount Everest (2020)

https://lede-v2.nautil.us/why-birds-can-fly-over-mount-everest-237864
217•andsoitis•5d ago•42 comments

Gemini 4 Carbon

https://blog.google/innovation-and-ai/models-and-research/gemini-models/introducing-gemini-4-carbon/
975•acossta•21h ago•778 comments