frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

React Router has XSS Vulnerability · CVE-2025-59057

https://github.com/advisories/GHSA-3cgp-3xvw-98x8
1•maxloh•35s ago•0 comments

JEP Draft: Java Thread Sanitizer

https://openjdk.org/jeps/8208520
1•mooreds•4m ago•0 comments

Diagnosing performance with dotnet-trace and Perfetto

https://dfamonteiro.com/posts/using-dotnet-trace-with-perfetto/
1•lalitmaganti•4m ago•0 comments

High RAM prices mean record-setting profits for Samsung and other memory makers

https://arstechnica.com/gadgets/2026/01/high-ram-prices-mean-record-setting-profits-for-samsung-a...
2•walterbell•4m ago•0 comments

DC-input: interactively fill dataclass instances via the command line

https://github.com/jdvanwijk/dc-input
1•janebelvanwijk•6m ago•0 comments

Ask HN: Cursor (LLM) Costs

1•anonyfox•7m ago•1 comments

Turntiles, an NYT style word game I made for my parents

https://github.com/wheybags/turntiles
1•todsacerdoti•8m ago•0 comments

New tech and tools for retailers to succeed in an agentic shopping era

https://blog.google/products/ads-commerce/agentic-commerce-ai-tools-protocol-retailers-platforms/
1•AznHisoka•9m ago•0 comments

Key Chinese Money Laundering Network Member Charged W Laundering Drug Proceeds

https://www.justice.gov/opa/pr/key-member-chinese-money-laundering-network-charged-laundering-ten...
3•737min•12m ago•0 comments

Fifty People Control the Culture

https://www.honest-broker.com/p/fifty-people-control-the-culture
2•Khaine•13m ago•0 comments

Ask HN: Cheaper Datadog Anyone?

2•kvaranasi_•15m ago•2 comments

When XLA Isn't Enough: From Pallas to VLIW with Splash Attention on TPU

https://patricktoulme.substack.com/p/when-xla-isnt-enough-from-pallas
1•patrick_toulme•16m ago•0 comments

Show HN: Voice Composer – Browser-based pitch detection to MIDI/strudel/tidal

https://dioptre.github.io/tidal/
1•dioptre•17m ago•0 comments

America's most novel train project is too deadly

https://www.economist.com/united-states/2026/01/08/americas-most-novel-train-project-is-too-deadly
2•yakkomajuri•17m ago•0 comments

There Is No Budget for Books

https://jonpauluritis.com/articles/no-budget-for-books/
1•jppope•17m ago•0 comments

WUTA WRENs

https://en.wikipedia.org/wiki/Western_Approaches_Tactical_Unit
1•CHB0403085482•18m ago•0 comments

Situation Monitor

https://hipcityreg.github.io/situation-monitor/
1•mellosouls•23m ago•0 comments

DOJ sues California cities over natural gas bans

https://www.justice.gov/opa/pr/justice-department-sues-california-cities-over-natural-gas-bans
4•737min•24m ago•0 comments

Show HN: Ma'at – Court-defensible jury analysis platform (open source)

https://github.com/Jennaleighwilder/MA-AT
1•jennaleighwest•27m ago•0 comments

Show HN: I built Sonars in 3 weeks to see if AI coding is useful for my company

https://sonars.dev
1•JasperBekkers•29m ago•0 comments

I Built a 1 Petabyte Server from Scratch [video]

https://www.youtube.com/watch?v=vVI7atoAeoo
1•guiambros•32m ago•0 comments

Local Food for the Hudson Valley

https://www.communityfoodworks.org
1•mooreds•36m ago•0 comments

True Scale of Solar System

2•Sarakuzoi•39m ago•0 comments

Asahi Linux – Porting Linux to Apple Silicon [video]

https://media.ccc.de/v/39c3-asahi-linux-porting-linux-to-apple-silicon
2•tensegrist•42m ago•1 comments

An open spec for cryptographic API authentication

https://github.com/atf-open-standard/atf-specification
1•nagabandaru•44m ago•1 comments

Remote Code Execution in OpenCode, update now

https://cy.md/opencode-rce/
6•CyberShadow•49m ago•1 comments

Google introduces personalised shopping ads to AI tools

https://www.ft.com/content/957c7438-b2e0-4605-a276-caa8a7ec363c
2•sebastian_z•52m ago•0 comments

Show HN: Turntiles, an NYT style game I made for my parents

https://wheybags.com/turntiles/
2•wheybags•1h ago•0 comments

I'd tell you a UDP joke…

https://www.codepuns.com/post/805294580859879424/i-would-tell-you-a-udp-joke-but-you-might-not-get
37•redmattred•1h ago•9 comments

Great Chinese Famine

https://en.wikipedia.org/wiki/Great_Chinese_Famine
3•simonebrunozzi•1h ago•2 comments
Open in hackernews

CheerpJ 4.0: WebAssembly JVM for the browser, now with Java 11 and JNI support

https://labs.leaningtech.com/blog/cheerpj-4.0
9•apignotti•8mo ago

Comments

palata•8mo ago
That's technically pretty cool, but it makes me wonder:

In order to run a Java Desktop app, I need to install a JVM first (or the Desktop app can embed it, I guess that's what IntelliJ does, right?).

Now if I run CheerpJ, it means that I essentially download a JVM when I load the page (every time), and run code in that JVM. But at this point, why not downloading a Desktop app?

It feels like we are going around, shipping simple web pages together with full browsers and calling that "desktop apps" (e.g. ElectronJS), then shipping complete JVMs as web pages and calling that a "web page"... why don't we just ship simple webpages through browsers and complex desktop apps through package managers?

apignotti•8mo ago
With CheerpJ you are downloading the subset of the JVM that you need, and actually only once thanks to the standard browser cache.

There are many reasons why shipping via the browser is a better choice compared to shipping desktop apps. The main 3 in my opinion are:

1. Distribution: Give your user a link and the app will start 2. Isolation: The user can have confidence the app won't read his personal files. 3. Cross-platform: Every OS and every device, for real this time

yuri91•8mo ago
For reference, when loading https://browsercraft.cheerpj.com for the first time (up to loading a world), my browser downloaded ~32MB.

The second time almost nothing.

jeffreportmill1•8mo ago
And here's an entire Java IDE with CheerpJ that downloads less than 15mb:

https://reportmill.com/SnapCode

palata•8mo ago
> With CheerpJ you are downloading the subset of the JVM that you need

That's interesting! May I ask how it works? Does that also happen with e.g. IntelliJ?

> Every OS and every device, for real this time

Doesn't the JVM run everywhere in 2025?

apignotti•8mo ago
> That's interesting! May I ask how it works? Does that also happen with e.g. IntelliJ?

Byte ranges request do most of the heavy lifting, data is loading exclusively on-demand.

> Doesn't the JVM run everywhere in 2025?

What about iOS? Android has Java, but can't run desktop Java apps. Chromebooks also have limits.

palata•8mo ago
> Byte ranges request do most of the heavy lifting, data is loading exclusively on-demand.

I don't understand what that means. The JVM is supposed to interpret and sometimes compile bytecode, right? How can it be done with only a fraction of the JVM?

Or are you saying that it is constantly communicating with a server that does the work?

apignotti•8mo ago
The VM itself is very small, it's the OpenJDK runtime that is quite sizeable. Byte ranges are used to only download the parts of the runtime (in terms of bytecode) that are required.

There is no server-side computation. CheerpJ runs code exclusively client-side.

palata•8mo ago
But you said before that you only download a subset of the JVM, right? Or did you mean a subset of the JDK, including the JVM and... I guess other stuff?
apignotti•8mo ago
I meant the JVM in an extended sense: the combination of the bytecode parsing, JIT compiler and OpenJDK runtime. You are right, I should have been more precise and refer to only the runtime part, which is by far the most significant.
palata•8mo ago
I was not trying to prove you wrong, I'm just genuinely interested :-). I don't see a lot of articles about the JVM these days.