frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Taking OCaml and Eio for a Spin

https://mattjhall.co.uk/posts/taking-ocaml-eio-for-a-spin.html
1•mattjhall•2m ago•0 comments

The Java Story | Official Documentary

https://www.youtube.com/watch?v=ZqGSg4b_cZA
2•doppp•2m ago•0 comments

Distro Fighter – web browser game

https://distrofighter.com/
1•ashitlerferad•2m ago•0 comments

Swedbank fined $50M by New York authorities over Panama Papers revelations

https://www.icij.org/investigations/panama-papers/swedbank-fined-50-million-by-new-york-authoriti...
1•robtherobber•4m ago•0 comments

Show HN: Tool to help old Java projects not on modern build systems

https://maven-tools.mohants.com/
1•pmg1991•5m ago•0 comments

Show HN: GeoChess – open-source geography strategy game

https://geochess.org
1•spider-hand•6m ago•0 comments

How much of your workweek goes the way you expected? [pdf]

https://www.microsoft.com/en-us/research/wp-content/uploads/2024/11/Time-Warp-Developer-Productiv...
1•akarshhegde18•7m ago•0 comments

The M5Stack Tab5

https://taoofmac.com/space/reviews/2026/07/18/1920
1•rcarmo•12m ago•0 comments

Ask HN: Are there any new competitors to Google search in 2026?

1•roschdal•20m ago•2 comments

EU Exempts Apple Watch and AirPods from Battery Removal Requirements

https://mjtsai.com/blog/2026/07/17/eu-exempts-apple-watch-and-airpods-from-battery-removal-requir...
2•miohtama•24m ago•0 comments

AI Watermark Evidence Fails Forensic Readiness: An Empirical Evaluation

https://arxiv.org/abs/2607.16010
1•sbulaev•27m ago•0 comments

A Lunch Conversation Changed My Website

https://ammar-najjar.com/blog/rebuilding-website-astro/
1•ammarnajjar•28m ago•0 comments

Is there even a ground-truth for LLMs' internal representations?

https://www.lesswrong.com/posts/EetjXEwjR2eun2mAc/is-there-even-a-ground-truth-for-llms-internal
2•joozio•32m ago•0 comments

PixelSat I Software Part 3: Onboard Computer

https://www.projectpixelorbital.com/software-3/
1•aadishv•33m ago•0 comments

I compared 5 AI coding subscriptions by pricing model and usage limits

https://canopywave.com/blog/best-ai-coding-plans-2026-pricing-limits-use-cases
2•Rossmax•35m ago•0 comments

Britain: A Cautionary Tale for America

https://www.noahpinion.blog/p/the-uk-is-a-cautionary-tale-for-the
3•barry-cotter•40m ago•1 comments

Claude Fable 5 on your plan

https://support.claude.com/en/articles/15424964-claude-fable-5-on-your-plan
4•tidbeck•41m ago•1 comments

Notes from Inside China's AI Labs

https://www.interconnects.ai/p/notes-from-inside-chinas-ai-labs
2•hunglee2•41m ago•0 comments

The Jacobian Conjecture Is False per Anthropic

https://old.reddit.com/r/math/comments/1v1aix1/the_jacobian_conjecture_is_false_per_anthropic/
3•georgeven•49m ago•0 comments

Square Right Pyramid Volume (Height = Base) Visually

https://www.youtube.com/watch?v=5rJHidOvuvc
1•vismit2000•50m ago•0 comments

The Life and Times of Maxis, Part 2: SimWorld

https://www.filfre.net/2026/07/the-life-and-times-of-maxis-part-2-simworld/
2•zetamax•51m ago•0 comments

Identical quadruplets in 'one of the rarest births in the world'

https://www.abc.net.au/news/2026-07-20/identical-quadruplets-birth-brisbane/106935748
2•asdefghyk•51m ago•2 comments

First evidence of WordPress wp2shell exploit being used in the wild

https://twitter.com/rahulgovind517/status/2078998010969866538
2•rahulgovind517•52m ago•1 comments

Better Agent Leagues and Decision Supervision from Branched Rollouts

https://gertlabs.com/blog/verdict
2•gertlabs•59m ago•0 comments

NYC LL144 and EU AI Act Compliance Guides

https://www.nyc144euaiact.com
1•Haiec•1h ago•0 comments

Remarkable icefish nests found under Antarctic ice

https://oceanographicmagazine.com/news/thousands-of-remarkable-icefish-nests-found-under-antarcti...
2•teleforce•1h ago•0 comments

Project Euler Problems 1–100

https://github.com/norvig/pytudes/blob/main/ipynb/Euler.ipynb
1•vismit2000•1h ago•0 comments

China's mysterious new billionaires are conquering the world

https://www.economist.com/business/2026/07/19/chinas-mysterious-new-billionaires-are-conquering-t...
3•andsoitis•1h ago•0 comments

Apopo: 100M Square Meters Cleared of Landmines

https://apopo.org/apopo-reaches-milestone-in-landmine-clearance/
1•thunderbong•1h ago•0 comments

Fighter Jets Are Passé

https://www.theatlantic.com/ideas/2026/07/us-military-tech-drones/687945/
2•breve•1h 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•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.