frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Cara Menghubungi Call Center Flip

1•rakib123•1m ago•0 comments

Cara Reschedule Tiket Batik Air

1•rakib123•2m ago•0 comments

Arc Is a Vision Problem

https://arxiviq.substack.com/p/arc-is-a-vision-problem
1•che_shr_cat•4m ago•0 comments

You can see a working Quantum Computer in IBM's London office

https://www.ianvisits.co.uk/articles/you-can-see-a-working-quantum-computer-in-ibms-london-office...
1•thinkingemote•5m ago•0 comments

Layanan Bantuan Air Asia

1•tarunjjwala•6m ago•0 comments

Show HN: Mamba2-Jax; Mamba2 implemented in pure Jax/Flax

https://github.com/CosmoNaught/mamba2-jax
2•cosmonaught1337•7m ago•0 comments

In What Universe Is Thinking Machines Lab Worth $50B

https://tickerfeed.net/articles/what-is-thinking-machines-lab-worth
2•sethops1•8m ago•0 comments

What you should know from a trove of ChatGPT conversations we analyzed

https://www.washingtonpost.com/technology/2025/11/18/chagpt-conversations-analysis-learnings/
1•1vuio0pswjnm7•8m ago•0 comments

Intel is listening, don't waste your shot

https://www.brendangregg.com/blog//2025-11-22/intel-is-listening.html
2•chmaynard•9m ago•0 comments

Layanan CS Air Asia

1•tarunjjwala•10m ago•1 comments

Building an AI generated animated kids yoga video for $5 in 48 hours

2•lucassmedley•11m ago•0 comments

Elon Musk's Grok chatbot ranks him as world history's greatest human

https://www.washingtonpost.com/technology/2025/11/20/elon-musk-grok/
2•1vuio0pswjnm7•11m ago•0 comments

How X national origin label is not a magic 8-ball at all

https://justapedia.org/wiki/User:Ron_Merkle/Personal_essays
1•kurtreed2•11m ago•0 comments

GravOpt – 20k-node MAX-CUT in ~7 minutes on a single CPU core

https://github.com/Kretski/GravOpt-MAXCUT
1•DREDREG•13m ago•1 comments

Begini cara Reschedule tiket Air Asia

1•tarunjjwala•13m ago•1 comments

Quantum router preserves delicate photon states

https://www.advancedsciencenews.com/quantum-router-preserves-delicate-photon-states/
1•geox•15m ago•0 comments

LangChain Cost Optimization with Model Cascading

https://github.com/lemony-ai/cascadeflow
1•saschabuehrle•19m ago•1 comments

Quantum Investment Bros: Have you no shame?

https://scottaaronson.blog/?p=9344
2•nsoonhui•19m ago•0 comments

Court Filings Allege Meta Downplayed Risks to Children and Misled the Public

https://time.com/7336204/meta-lawsuit-files-child-safety/
2•dataminer•22m ago•0 comments

Markdown Editors

https://github.com/mundimark/awesome-markdown-editors
2•wslh•23m ago•0 comments

Joe Rogan Experience #2416 – Dan Farah [video]

https://www.youtube.com/watch?v=NSFaaq3vhfY
1•keepamovin•26m ago•0 comments

Brazil's ex-president Bolsonaro arrested to prevent 'escape' court says

https://www.cnn.com/2025/11/22/americas/brazil-jair-bolsonaro-arrested-intl
2•marcodiego•26m ago•0 comments

Tell HN: Archive.today Partially Inaccessible

3•ZWoz•26m ago•0 comments

What's Lost When Stars Disappear from View

https://spectrum.ieee.org/scale-of-light-pollution
2•pseudolus•29m ago•0 comments

We don't talk enough about the best part of AI agents

https://michalkotowski.pl/writings/we-dont-talk-enough-about-the-best-part-of-ai-agents
1•kocie•32m ago•1 comments

Why is cognitive effort experienced as costly?

https://www.cell.com/trends/cognitive-sciences/abstract/S1364-6613(25)00287-6
2•thinkingemote•33m ago•1 comments

Values Aren't Subjective

https://aliveness.kunnas.com/articles/values-arent-subjective
1•ekns•38m ago•0 comments

WWII Enigma machine sells for over half a million dollars at auction

https://www.tomshardware.com/tech-industry/wwii-enigma-machine-sells-for-over-half-a-million-doll...
1•giuliomagnifico•39m ago•0 comments

Rereading Norbert Wiener's the Human Use of Human Beings at 75

https://spectrum.ieee.org/on-rereading-norbert-wieners-the-human-use-of-human-beings-at-75
2•quapster•40m ago•0 comments

FFmpeg-Rs Fundraising Initiative

https://typememetics.institute/fundraiser/ffmpeg-rs
3•thehappyfellow•40m 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•7mo ago

Comments

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

https://reportmill.com/SnapCode

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