frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Australia's Social Media Ban Is Floundering. Can It Still Help Younger Kids?

https://www.nytimes.com/2026/06/10/world/australia/australia-social-media-ban-under-16.html
1•uxhacker•1m ago•0 comments

Propel: Breaking the Solver Bottleneck in Task-Generator RL

https://vmax.ai/team/propel
1•AMavorParker•1m ago•0 comments

Widespread attacks on Iran have begun [video][50 mins]

https://www.youtube.com/watch?v=2KIzXrtKlbg
1•Bender•2m ago•1 comments

Patch for critical vulnerability in p2pool (Monero) to be released on 2026-06-13

https://github.com/SChernykh/p2pool/releases/tag/pre-release-v4.16
1•sxde•4m ago•1 comments

Did a Chatbot Write a Prize-Winning Story? Does It Matter?

https://www.newyorker.com/books/page-turner/did-a-chatbot-write-a-prize-winning-story-does-it-matter
1•petethomas•5m ago•0 comments

Could Switzerland Become the First Country to Cap Its Population?

https://www.newyorker.com/magazine/2026/06/15/could-switzerland-become-the-first-country-to-limit...
2•petethomas•5m ago•0 comments

Oracle beats on earnings, but stock drops on plans to raise another $20B

https://www.cnbc.com/2026/06/10/oracle-orcl-q4-earnings-report-2026.html
3•root-parent•6m ago•1 comments

Next 100 Days: XBOX Reset

https://news.xbox.com/en-us/2026/06/10/next-100-days-xbox-reset/
1•piotrgrabowski•6m ago•0 comments

Feedback Alignment in Self-Distillation

https://arxiv.org/abs/2606.11173
1•MediaSquirrel•6m ago•0 comments

US President says 'I love the inflation'

https://www.cnbc.com/2026/06/10/trump-inflation-cpi-iran-oil.html
7•root-parent•7m ago•0 comments

Trump baffles Wall Street with top dealmaker praise for Citi

https://www.ft.com/content/346fbc7b-3627-49e1-8f1e-af0cefef4000
3•petethomas•8m ago•0 comments

Datafarm: Two Bespoke Languages, Two Runtimes

https://williamcotton.github.io/datafarm-studio/
1•williamcotton•8m ago•0 comments

The Bricks and Mini-Figs Investigation by Coffeezilla [video]

https://www.youtube.com/watch?v=VKfQkRbd15k
1•momentmaker•10m ago•0 comments

WWDC 2026 – On-Device AI Deep Dive

https://gist.is/docs.google.com/en/deqIp-AK6Oxc
1•MediaSquirrel•10m ago•0 comments

A Written Language for the Cherokee So Efficient It Was Thought to Be Magic

https://www.smithsonianmag.com/innovation/man-created-written-language-cherokee-did-efficiently-e...
2•grahambargeron•12m ago•0 comments

Social Security's Final Countdown

https://opentechyou.blogspot.com/2026/06/the-digital-embrace-social-securitys.html
1•odilelof•13m ago•0 comments

Reducing Tail Response of Distributed Services Through System-Wide Scheduling

https://dl.acm.org/doi/10.1145/3698038.3698554
1•zekrioca•14m ago•0 comments

Free financial literacy platform for kids – 90 lessons, no paywall

https://learnfinly.com
2•narensara•15m ago•0 comments

OpenAI: PRC-linked influence operations are targeting AI debates in the US

https://www.businessinsider.com/openai-china-data-centers-influence-campaign-2026-6
3•sundarurfriend•16m ago•1 comments

Microsoft Agent 365

https://microsoft.github.io/agent-resources/agent365/
1•hmokiguess•17m ago•0 comments

Franco-German Future Fighter Effort Collapses over Irreconcilable Differences

https://www.twz.com/air/franco-german-future-fighter-effort-collapses-over-irreconcilable-differe...
2•PLenz•18m ago•0 comments

Type a command, get market analysis

https://stochastics.vercel.app
1•talos-better•20m ago•0 comments

Whale graveyard dating back five million years discovered

https://www.bbc.com/news/articles/c75ylx4xn10o
1•leephillips•21m ago•0 comments

macOS 27 beta boots Asahi Linux off Apple Silicon

https://www.theregister.com/os-platforms/2026/06/10/macos-27-beta-boots-asahi-linux-off-apple-sil...
1•SockThief•22m ago•2 comments

Driving in America Is Headlight Hell

https://www.theatlantic.com/technology/2026/06/car-headlights-too-bright-adaptive-beams/687488/
2•ggm•22m ago•0 comments

Peer to Peer Collaborative Pixel Canvas

https://tether-art.abebrandsma.com/
1•Brandsma•23m ago•0 comments

Ballmerpeak Pro – plan your most effective workday

https://ballmerpeak.pro/
1•neomole•23m ago•0 comments

Using sound waves to make espresso cut brewing energy use 75%

https://theconversation.com/i-used-sound-waves-to-make-espresso-it-could-cut-coffee-brewing-energ...
1•ggm•25m ago•0 comments

WWDC26: Create Ul prototypes using agents in Xcode – Apple

https://www.youtube.com/watch?v=QleOvMW9vTU
1•whiteboardr•29m ago•1 comments

The Dashlane 2FA Breach and What It Means for Cloud Vaults

https://www.cloudlesssoftware.com/articles/dashlane-2fa-breach/
2•presleymarkw•29m 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.