frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

A post-American, enshittification-resistant internet [video]

https://www.youtube.com/watch?v=39jsstmmUUs
1•Klaster_1•1m ago•0 comments

Show HN: Sptws.com – A summary and guide based on JLC Simple Path to Wealth book

https://www.sptws.com/
1•tiagom87•6m ago•1 comments

Best AI Image Generators of 2026

https://deepdreamgenerator.com/ai-image-generators
1•smith2008•7m ago•0 comments

It's hard to justify Tahoe icons

https://tonsky.me/blog/tahoe-icons/
2•lylejantzi3rd•7m ago•0 comments

First LLM Coded Redis PR Opened by Antirez

https://github.com/redis/redis/pull/14661
1•BiteCode_dev•9m ago•0 comments

6.5 GB/S JSON Parsing in Mojo – Beating Rust and C++ on Apple Silicon (M3 Ultra)

https://atsentia.com/blog/mojo-json-beats-rust-cpp
3•amund•9m ago•0 comments

I built an open source cross-platform desktop starter app

1•eibrahim•12m ago•1 comments

Show HN: Alpha-Toe-Zero

https://alpha-toe-zero.nottherealsanta.com
1•nottherealsanta•14m ago•0 comments

Verification Driven Development – Avoiding slop with agents

https://gist.github.com/dollspace-gay/45c95ebfb5a3a3bae84d8bebd662cc25
1•NeutralForest•14m ago•0 comments

Famous Mayflower descendants

http://mayflowerhistory.com/famous-descendants
1•teleforce•15m ago•0 comments

Design Figma Forms and Link Them to HubSpot CMS Under 5 Minutes

https://transjt.ai/blog/learn-how-to-create-a-native-hubspot-form-with-figma-and-transjt
1•transjt•16m ago•0 comments

What breaks first when you try to build real world AI agents

1•raghavchamadiya•16m ago•0 comments

Ask HN: Are you missing Daily Email alerts from HN?

2•unknownhad•17m ago•0 comments

Congestion pricing after one year: How life has changed

https://www.nytimes.com/interactive/2026/01/05/upshot/congestion-pricing-one-year.html
3•donohoe•17m ago•0 comments

Metro Spotify – A Spotify Client for Android in Metro UI Design Language (WP8.1)

https://discord.com/channels/1192009388643319828/1192009454024142911
1•eotc•21m ago•2 comments

Ask HN: Why don't we have "Guilds" for solo AI founders yet?

1•iliailinskii•21m ago•0 comments

Yann LeCun confirms Meta's Llama 4 benchmarks were "fudged a little bit"

https://tech.slashdot.org/story/26/01/02/1449227/results-were-fudged-departing-meta-ai-chief-conf...
5•frays•22m ago•0 comments

Ask HN: Is Google photos secure enough to share albums?

1•netfortius•23m ago•0 comments

Cigarette smoke effect using shaders

https://garden.bradwoods.io/notes/javascript/three-js/shaders/shaders-103-smoke
1•bradwoodsio•26m ago•0 comments

Seeds of War

https://worldsensorium.com/seeds-of-war/
1•dnetesn•29m ago•0 comments

AI's Innate Bias Against Animals

https://nautil.us/ais-innate-bias-against-animals-1255389/
1•dnetesn•30m ago•0 comments

Deletion Considered Harmful

https://arxiv.org/abs/2512.23907
2•50kIters•31m ago•0 comments

Show HN: RepoReaper – AST-aware, JIT-loading code audit agent (Python/AsyncIO)

https://github.com/tzzp1224/RepoReaper
3•realdexter•31m ago•0 comments

Twelfth Night

https://en.wikipedia.org/wiki/Twelfth_Night_(disambiguation)
1•thinkingemote•31m ago•0 comments

ProLLM Leaderboards

https://www.prollm.ai/leaderboard
1•saikatsg•33m ago•0 comments

What's Next for AI in 2026

https://www.technologyreview.com/2026/01/05/1130662/whats-next-for-ai-in-2026/
1•fleahunter•33m ago•0 comments

Ask HN: Did the number of Ask HN posts decline as well due to LLMs?

1•zerr•35m ago•0 comments

Chatbot Psychosis

https://en.wikipedia.org/wiki/Chatbot_psychosis
2•jacquesm•38m ago•0 comments

Visualise.ink – generate good-looking slides and infographics from simple text

https://visualise.ink/
1•jamalm1417•38m ago•1 comments

2025 was an excellent year for this blog

https://www.seangoedecke.com/2025-wrapup/
2•lalitmaganti•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•8mo ago

Comments

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

https://reportmill.com/SnapCode

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