frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Understanding the rationale behind a rule when trying to circumvent it

https://devblogs.microsoft.com/oldnewthing/20260611-00/?p=112415
1•tosh•1m ago•0 comments

China's universities cut 12,000 'obsolete' degrees amid race to embrace AI era

https://www.scmp.com/economy/china-economy/article/3356913/chinas-universities-cut-12000-obsolete...
1•spwa4•4m ago•0 comments

Users cry foul after AMD stripped memory crypto from its consumer CPUs

https://arstechnica.com/security/2026/06/users-cry-foul-after-amd-stripped-memory-crypto-from-its...
2•u1hcw9nx•4m ago•0 comments

Why did I create my own PaaS as indie hacker and made it open-source?

https://github.com/sumon-ohid/better-paas
2•sumonoahid•15m ago•1 comments

Making a Metasearch Engine (2024)

https://matdoes.dev/metasearch
1•ethanhawksley•17m ago•0 comments

The History of How School Buses Became Yellow

https://www.smithsonianmag.com/history/history-how-school-buses-became-yellow-180973041/
1•thunderbong•19m ago•0 comments

Pure-Dart I2P: decentralized file sharing

https://github.com/geograms/i2p-dart
1•nunobrito•23m ago•0 comments

Greed Is Learned: Visible Incentives as Reward-Hacking Triggers

https://arxiv.org/abs/2606.16914
1•Timofeibu•25m ago•0 comments

Show HN: Kitchen Rush, Overcooked inspired LLM tool calling benchmark

https://github.com/bassimeledath/kitchen-rush
1•bombastic311•26m ago•0 comments

Movebound: The Art of Zugzwang

https://www.thearticle.com/movebound-the-art-of-zugzwang
1•Pamar•26m ago•0 comments

Discovery debt: The debt that doesn't slow you down

https://www.leadinginproduct.com/p/discovery-debt
1•benkan•26m ago•0 comments

The US government's Anthropic models ban was never about an AI jailbreak

https://techcrunch.com/2026/06/15/the-us-governments-anthropic-models-ban-was-never-about-an-ai-j...
2•SilverElfin•27m ago•0 comments

Why do South Koreans love AI so much?

https://www.technologyreview.com/2026/06/15/1138983/why-do-south-koreans-love-ai-so-much/
1•joozio•32m ago•0 comments

Cross-Language Data Types

https://ekxide.io/blog/cross-language-data-types/
1•birdculture•34m ago•0 comments

Show HN: A spreadsheet where your code never reads B7

https://github.com/logisky/LogiSheets/discussions/415
1•JeremyHe•36m ago•0 comments

Show HN: GitHits Public Beta 0.9

https://githits.com/
2•skvark•36m ago•0 comments

Correlated LLM Name Priors and Their Haunting of the Web and Academic Publishing

https://arxiv.org/abs/2606.02184
1•wise_blood•38m ago•0 comments

Adobe's record year couldn't save its stock

https://www.artificialstudio.ai/blog/adobe-record-year-couldnt-save-its-stock
1•artificialstudi•38m ago•0 comments

OpenAI spending hit $34B last year ahead of planned IPO

https://www.ft.com/content/e15b0d7e-ff6b-4f16-ba7a-4068feddb828
1•merksittich•39m ago•1 comments

Vulnerability Forecast Update: Navigating the AI Epoch

https://www.first.org/blog/20260615-vulnerability-forecast-update
1•jruohonen•39m ago•1 comments

Mythos/Fable-5 is a greedy Depth First Search system

https://ankitmaloo.com/fable/
2•ankit219•43m ago•0 comments

Show HN: DocShrink – An offline image and PDF optimizer in your Chrome sidebar

https://github.com/Aditya5556/Shrinkk
1•Aditya_5556•46m ago•1 comments

Shoehorning Flying Toasters into a ESP32-S3

https://taoofmac.com/space/blog/2026/06/14/1400
2•adunk•48m ago•0 comments

Show HN: Tracore – We turned our resume parser into a document-to-JSON API

https://tracore.io/en/
1•imalov•49m ago•0 comments

CATL: Solid-state batteries are in years away from mass market

https://carnewschina.com/2026/06/15/catl-boss-drops-solid-state-battery-reality-check-years-away-...
1•phront•50m ago•0 comments

Know When to Stop, Pivot, or Double Down

https://julienreszka.com/blog/know-when-to-stop-pivot-or-double-down/
2•julienreszka•51m ago•0 comments

Ask HN: Claude renamed my VM from the inside?

2•twooclock•1h ago•1 comments

How to bring down cheap, low-flying drones

https://www.economist.com/science-and-technology/2026/06/01/how-to-bring-down-cheap-low-flying-dr...
2•austinallegro•1h ago•2 comments

Colossal Squid Are Everywhere. We've Been Looking Wrong [video]

https://www.youtube.com/watch?v=-W1Mwd0BWT4
2•mpweiher•1h ago•0 comments

Show HN: Topaz – A small Unicode-first language that compiles to Rust

https://github.com/studiohaze/topaz
1•yo_tafo•1h 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.