frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

The US national debt now stands at $40T

https://apnews.com/article/treasury-national-debt-limit-a27a8d3651ff810b25c610d3e1b6259d
1•geox•2m ago•0 comments

Basics of the Unix Philosophy

https://cscie2x.dce.harvard.edu/hw/ch01s06.html
1•num42•3m ago•0 comments

Show HN: Linux and iPhone Continuity (iMessage / SMS)

https://github.com/zackb/tether
1•zackb•3m ago•0 comments

KVM Planes Head for Takeoff

https://lwn.net/Articles/1087590/
1•pykello•5m ago•0 comments

The Grand Unified Theory Extends A.E.'S Goals

https://medium.com/@f9121212/the-grand-unified-theory-extends-a-e-s-goals-b2c9456d7813
1•ortrich•7m ago•1 comments

Why Microsoft Entertainment Pack had a sticker announcing that it had Tetris?

https://devblogs.microsoft.com/oldnewthing/20260818-00/?p=112621
2•tybulewicz•15m ago•0 comments

The Pit of Success – An Interview with Rico Mariani

https://www.youtube.com/watch?v=48Rig6v-xYU
1•bananaboy•19m ago•0 comments

MailSalonSync – replace offlineimap or mbsync with JMAP support, written in Go

https://git.cerberusgames.ca/Starstreak/MailSalonSync
1•QBasicBitch•22m ago•0 comments

Thoughts About Scaling Law (By the Founder of ZAI of GLM Fame)

https://xcancel.com/antibot/captcha
2•vismit2000•30m ago•0 comments

Designing Loops for Production-Grade Work

https://www.liquid.ai/blog/agent-loops
2•kiyanwang•31m ago•0 comments

The little-told story of the WWII pet cull

https://www.bbc.com/news/magazine-24478532
3•madihaa•34m ago•0 comments

Measuring Strait of Hormuz ship traffic and how Big Oil profits from it

https://wherobots.com/blog/hormuz-vessel-detection/
1•dr-jia-yu•41m ago•0 comments

Polygon Discovers Fire Emblem: Fortune's Weave Requires the Console It Was Made

https://noisypixel.net/fire-emblem-fortunes-weave-switch-2-exclusive/
2•jamarna•43m ago•1 comments

Packing Malware in Rosetta 2

https://kernelkennel.com/blog/summercon2026-rosetta/
2•n0blenote•44m ago•0 comments

American killed by lightning while climbing Italian volcano

https://www.newsweek.com/american-killed-by-lightning-while-climbing-italian-volcano-12330506
1•jamarna•44m ago•0 comments

Slack Code Is Live

https://twitter.com/Benioff/status/2090240159115853956
1•ramoz•45m ago•1 comments

Armwood High graduate uses 40 scholarships to attend Princeton

https://baynews9.com/fl/tampa/news/2026/08/14/armwood-high-graduate-uses-scholarships-to-make-pri...
2•banimak•47m ago•0 comments

SeedSQL – Generate realistic SQL mock data with foreign key integrity

https://seed-sql.ai.studio
2•hrdhanush•48m ago•0 comments

Cloudflare Workers Spectre Attack Leaks JWT at 12 Bits/S

https://cyberupdates365.com/cloudflare-workers-spectre-attack/
2•sysadmin_diarie•49m ago•0 comments

MiniageOS: "Dumbphone" Version of LineageOS

https://github.com/ofdryads/miniageOS
2•ashenke•49m ago•0 comments

Fool's Gold: Defensive Deception Against Safety-Removal Attacks on Open-Weight

https://arxiv.org/abs/2608.17202
2•sbulaev•50m ago•0 comments

Scenic spot in Italian mountains overrun by tourists seeking the perfect pastry

https://www.ctvnews.ca/lifestyle/article/scenic-spot-in-italian-mountains-overrun-by-tourists-see...
2•mafidia•50m ago•0 comments

GEN-1.5, a one-shot learner robotics foundational model [video]

https://www.youtube.com/watch?v=1cllCVK-9lo
3•AareyBaba•50m ago•0 comments

Imging – Local Image Tools

https://imging.cn/en/
2•fgghyyfk•52m ago•0 comments

'It wasn't me': Weed use in Allegheny County jury room forces homicide mistrial

https://triblive.com/privacy/
1•hussnymoba•53m ago•0 comments

Cost-Aware Optimization for Agentic Query Execution

https://arxiv.org/abs/2606.03152
1•matt_d•53m ago•0 comments

Invited media and military members held at gunpoint at Space Force base in Calif

https://apnews.com/article/vandenberg-space-force-base-california-journalists-detained-4815c999cb...
3•barnoka•56m ago•0 comments

Hamilton's Theory of Turns Revisited

https://arxiv.org/abs/0904.4787
1•oliculipolicula•56m ago•0 comments

Forty First Dates and Still Searching

https://www.nytimes.com/2026/08/18/well/family/forty-first-dates-and-still-searching.html
1•gmays•56m ago•0 comments

Crypto's (and AI's) midterm PAC machine

https://www.politico.com/newsletters/politico-influence/2026/08/19/a-rare-setback-for-cryptos-mid...
1•mmooss•58m ago•1 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•1y ago

Comments

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

https://reportmill.com/SnapCode

palata•1y 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•1y 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•1y 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•1y 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•1y 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•1y 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•1y 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.