frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Why Is Everyone Leaving New Zealand? [video]

https://www.youtube.com/watch?v=zIxTKc67tHU
1•TMWNN•1m ago•0 comments

Pakistani astronaut to become first foreigner on China's space station

https://www.independent.co.uk/asia/south-asia/pakistan-astronaut-china-shenzhou-space-station-b30...
2•nephihaha•5m ago•0 comments

C development for Linux without a standard library

https://kevinboone.me/shnolib.html
1•andsoitis•11m ago•0 comments

Build Software on Your Phone

https://markow.dev/writing/build-software-on-your-phone/
1•robowo•14m ago•0 comments

6th-grade Peano arithmetic broke OpenAI's $100B Yang-Mills mass gap proof

https://github.com/Dr-Logvinovich/round-square/blob/main/README.md
4•DRLogvinovich•17m ago•0 comments

The Credit Card

https://phonecardmuseum.com/articles/banking-cards/the-credit-card/
1•thunderbong•19m ago•0 comments

Being a line cook without talking to AI

https://knhash.in/no-ai-line-cook/
1•knhash•24m ago•0 comments

NASA is looking for new astronauts to help grow its Artemis program

https://www.nbcnews.com/science/space/nasa-is-looking-for-new-astronauts-rcna608025
1•TMWNN•24m ago•0 comments

Category Theory Illustrated

https://abuseofnotation.github.io/category-theory-illustrated/
1•rramadass•25m ago•0 comments

Show HN: Ferrule – copy-in React Native UI components for iOS, Android and web

https://leoanimesh.github.io/ferrule/
1•leoanimesh•25m ago•0 comments

Investing vs. gambling: how to tell the difference

https://www.cfainstitute.org/insights/articles/investing-vs-gambling
1•throwaway2037•31m ago•0 comments

The Rise of Microdramas

https://www.bbc.com/news/articles/cm87zv70jg9no
2•sarreph•31m ago•0 comments

Show HN: Hacker News Column View

https://hn.orbitalchicken.com
1•y1n0•38m ago•0 comments

The Great GOP Dummymander of 2026

https://www.nationalreview.com/corner/the-great-gop-dummymander-of-2026/
1•carabiner•40m ago•0 comments

I Won't Hire People Who Use Poor Grammar. Here's Why

https://hbr.org/2012/07/i-wont-hire-people-who-use-poo
1•arbayi•42m ago•1 comments

Is Opus 5.5 nerfed? Thinking patterns changed on November 3

https://twitter.com/shanemelaugh/status/2119192075505893695
1•rzk•44m ago•0 comments

Autonomous Dynamics Runtime (ADR) – Zero-copy C++20 execution spec

https://github.com/EvaReinar2356/AS3D-/blob/main/README.md
1•EvaDeville•48m ago•0 comments

My Grok Bot Started Vendor Locking Me

https://twitter.com/RoyOsherove/status/2119327808778313824
1•royosherove•54m ago•0 comments

Unattended reboots with encrypted disks (ZFS)

https://blogsystem5.substack.com/p/zkeys-intro
1•Maledictus•56m ago•0 comments

Show HN: Ramen – an AI agent that has to earn its own rent

https://usdt-kit-production.up.railway.app/ramen
1•showang•1h ago•0 comments

Never Gonna Print You Up

https://dixken.de/blog/never-gonna-print-you-up
2•ta988•1h ago•0 comments

Crypto industry braces for reckoning over Trump ties

https://www.ft.com/content/f1b98a61-4103-447c-bb9a-3dccc0819f61
2•JumpCrisscross•1h ago•1 comments

WaveDudeNext 2D Wave Simulator

https://github.com/graealex/WaveDudeNext
2•sweetdingoes•1h ago•0 comments

In Praise of Cash (2017)

https://aeon.co/essays/if-plastic-replaces-cash-much-that-is-good-will-be-lost
1•germanrabbit•1h ago•0 comments

There's No Such Thing as a Stock-Market Bubble

https://www.wsj.com/opinion/theres-no-such-thing-as-a-stock-market-bubble-159ea117
2•gmays•1h ago•0 comments

Ask HN: LLM-Resistant Publishing Strategies

2•negura•1h ago•2 comments

Show HN: SEC Fundamentals – free financial API

https://www.quotelinks.com/api/sec-fundamentals/
1•chartwidgets•1h ago•0 comments

James Barnor: Outstanding Contribution to Photography 2027

https://www.worldphoto.org/blogs/05-11-26/10-things-know-about-james-barnor-outstanding-contribut...
3•Tomte•1h ago•0 comments

Windows Are Absurd (From an engineering standpoint)

https://practical.engineering/blog/2026/11/3/windows-are-absurd
2•vismit2000•1h ago•0 comments

Lens – The Browser Your iPhone Deserves

https://lens.maximos.work/
3•microflash•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.