I Put a Full JVM Inside a Browser Tab. It "Works". Technically. Eventually.

This title could be clearer and more informative.Try out Clickbait Shieldfor free (5 uses left this month).

JavaBox is a proof-of-concept project that runs a full JVM inside a browser tab with zero server involvement. The stack layers OpenJDK 21 on Alpine Linux inside QEMU, compiled to a 227MB WebAssembly blob served via a Cloudflare Worker. To avoid 12-minute JVM cold-start times per compile, the author built a persistent JVM daemon

•8m read time•From bmarti44.substack.com
Post cover image
Table of contents
The Stack That Should Not ExistThe Problem With Doing This The Obvious WayCompileServer, or How I Learned to Stop Spawning and Love the DaemonThe NumbersWhat We’re Thinking About Using It ForHow To Try ItWhat I Learned
2 Comments

Sort: