frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

UK Defence secretary reveals month-long Russian submarine operation over cables

https://www.bbc.co.uk/news/live/cg54mdlqppjt
1•spzb•1m ago•0 comments

Show HN: Maki – The efficient terminal coding agent

https://maki.sh/
1•deronEx•1m ago•0 comments

Tech firms enter legal limbo over child abuse scanning

https://www.politico.eu/article/tech-firms-enter-legal-limbo-over-child-abuse-scanning/
1•speckx•1m ago•0 comments

Lichess and Take Take Take Sign Cooperation Agreement

https://lichess.org/@/Lichess/blog/lichess-and-take-take-take-sign-cooperation-agreement/DZS0S0Dy
1•stevage•2m ago•0 comments

Cultural Flags – Wikimedia Commons

https://commons.wikimedia.org/wiki/Cultural_flags
1•reaperducer•2m ago•0 comments

Show HN: Webcellar – JavaScript (and TypeScript) in Excel Made Simple

https://github.com/Acmeon/Webcellar
1•Acmeon•5m ago•0 comments

AI for Small and Medium Businesses. Tadviser Conference Report

1•anong1•5m ago•1 comments

A visual guide to Gemma4

https://newsletter.maartengrootendorst.com/p/a-visual-guide-to-gemma-4
1•saikatsg•5m ago•0 comments

Support Betterbird

https://www.betterbird.eu/end-of-year/
1•ekianjo•11m ago•0 comments

Gomoku (5 in a Row) in Zig (Minimax with Alpha-Beta Pruning) Zig/WASM

https://github.com/begoon/gomoku-zig/
1•begoon•12m ago•0 comments

Giving LLMs a Formal Reasoning Engine for Code Analysis

https://yogthos.net/posts/2026-04-08-neurosymbolic-mcp.html
3•boriskourt•14m ago•1 comments

When Representation Replaces Reality in Modern Systems

https://dx.doi.org/10.2139/ssrn.6150706
2•realitydrift•16m ago•0 comments

Sokoban Solver in Zig

https://github.com/begoon/zig-sokoban-solver/
1•begoon•16m ago•0 comments

The Intl API: The best browser API you're not using

https://polypane.app/blog/the-intl-api-the-best-browser-api-youre-not-using/
2•Terretta•21m ago•0 comments

This "rotten egg" brain gas could be the key to fighting Alzheimer's disease

https://www.sciencedaily.com/releases/2026/04/260408225933.htm
1•Noaidi•23m ago•1 comments

The State of Startups 2026

https://supabase.com/state-of-startups
1•fmerian•24m ago•0 comments

A Three- and a Four- Body Problem

https://www.johndcook.com/blog/2026/04/08/artemis-1-apollo-12/
1•ibobev•25m ago•0 comments

Andrica's conjecture on the gap between root primes

https://www.johndcook.com/blog/2026/04/08/andrica/
2•ibobev•25m ago•0 comments

An Atari 8-bit Computer Timeline

https://www.goto10retro.com/p/an-atari-8-bit-computer-timeline
1•ibobev•26m ago•0 comments

Show HN: Gaussian splatting for real estate promotion

https://lamotte-laturballe.see-around.app/
2•dezmou•30m ago•1 comments

Britain breaks solar energy record twice as UKs biggest solar farm gets approval

https://www.theguardian.com/environment/2026/apr/08/britain-breaks-solar-energy-record-twice-uk-b...
4•_____k•32m ago•1 comments

The Soviet Network

https://literaryreview.co.uk/the-soviet-network
1•prismatic•32m ago•0 comments

Hister: Automatic local full-text indexing for visited websites

https://github.com/asciimoo/hister
1•rendx•34m ago•1 comments

Show HN: CSS Studio. Design by hand, code by agent

https://cssstudio.ai
3•SirHound•35m ago•0 comments

Why Have Sentence Lengths Decreased?

https://arjunpanickssery.substack.com/p/why-have-sentence-lengths-decreased
2•surprisetalk•36m ago•0 comments

Ms. Rachel

https://gomakethings.com/ms.-rachel/
2•surprisetalk•36m ago•0 comments

Kiki: Array Programming DSL

https://smallandnearlysilent.com/kiki/
1•surprisetalk•36m ago•0 comments

Exploring the Design Space for Runtime Enforcement of Dynamic Capabilities [video]

https://www.youtube.com/watch?v=Yug1iSqY2Y8
2•surprisetalk•36m ago•0 comments

Workflows: Durable Execution with Just Postgres

https://earendil-works.github.io/absurd/
2•birdculture•39m ago•0 comments

SuperCmd – open-source alternative to Raycast Pro, WisprFlow, and Speechify

https://supercmd.sh/
3•marksully•39m ago•0 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•11mo ago

Comments

palata•11mo 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•11mo 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•11mo 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•11mo ago
And here's an entire Java IDE with CheerpJ that downloads less than 15mb:

https://reportmill.com/SnapCode

palata•11mo 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•11mo 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•11mo 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•11mo 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•11mo 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•11mo 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•11mo 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.