frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Building a baseline JIT for Lua automatically

https://sillycross.github.io/2023/05/12/2023-05-12/
1•fanf2•2m ago•0 comments

Show HN: IssueWhiz – Automated Issue Triaging

https://github.com/pierotofy/issuewhiz
1•pierotofy•3m ago•0 comments

Brazil and US eye rare earths deal

https://www.ft.com/content/401a9e84-3034-4375-bf39-56b92500c7aa
1•alephnerd•3m ago•0 comments

The Discourse Is a Distributed Denial-of-Service Attack

https://www.joanwestenberg.com/the-discourse-is-a-distributed-denial-of-service-attack/
1•7777777phil•6m ago•0 comments

China Will Clinch The AI Race

https://www.ft.com/content/d9af562c-1d37-41b7-9aa7-a838dce3f571
1•karakoram•8m ago•0 comments

What if I lie to maxmind?

1•redditbannedme•8m ago•0 comments

An Artery of Empire: The Rise and Fall of China's Grand Canal

https://worldhistory.substack.com/p/an-artery-of-empire
1•crescit_eundo•8m ago•0 comments

Ask HN: What does your home office look like?

1•chistev•9m ago•0 comments

French diplomacy uses new governement account to troll back on Trump and Elon

https://x.com/FrenchResponse
2•hinata08•11m ago•1 comments

Malicious GhostPoster browser extensions found with 840k installs

https://www.bleepingcomputer.com/news/security/malicious-ghostposter-browser-extensions-found-wit...
1•howToTestFE•12m ago•0 comments

ChatGPT to start showing ads in the US

https://www.theguardian.com/technology/2026/jan/16/chatgpt-ads-in-revenue-boost
1•howToTestFE•13m ago•2 comments

Fastrender: Experimental New Browser Engine

https://github.com/wilsonzlin/fastrender
1•simonpure•13m ago•0 comments

Imgur Is the Last True Internet Culture Remaining – But Can It Survive? (2015)

https://www.mic.com/articles/123956/imgur-s-alan-and-sarah-schaaf-look-to-the-future
1•ubercow13•14m ago•0 comments

Your Agent Skills are all Slop

https://12gramsofcarbon.com/p/your-agent-skills-are-all-slop
1•theahura•16m ago•0 comments

Anthropic, please stop suggesting to use Claude as a linter

https://evgeniipendragon.com/posts/anthropic-please-stop-suggesting-to-use-claude-as-a-linter/
2•EPendragon•18m ago•0 comments

Chinese AI Developers Say They Can't Beat America Without Better Chips

https://www.wsj.com/tech/ai/china-ai-race-us-chips-9e74b957
1•gmays•19m ago•0 comments

Show HN: A terminal for research and trading in prediction markets

https://getpanther.app?src=hnews
1•mkelias•19m ago•0 comments

Evolving brains? Cull long inference times

https://stateofutopia.com/papers/1/evolving-brains-cull-long-inference-times.html
3•logicallee•21m ago•2 comments

Zero-sum economics keeps failing

https://www.noahpinion.blog/p/zero-sum-economics-keeps-failing
2•cjbarber•22m ago•0 comments

"Hello, Computer." Vocal computing seems primed to take off, for real this time

https://spyglass.org/vocal-computing-ai/
2•ChrisArchitect•25m ago•0 comments

Open source NSFW detection (ViT and DistilBERT) with 99% AUC

https://huggingface.co/acaciabengo
1•acaciabengo•26m ago•1 comments

Spectroscopy reveals iron bar inside Ring Nebula

https://academic.oup.com/mnras/article/546/1/staf2139/8425243?login=false
1•bookofjoe•26m ago•0 comments

Show HN: VelinScript 2.5 – A modern language for AI‑API development

https://github.com/SkyliteDesign/velinscript
1•SkyliteDesign•27m ago•1 comments

Radxa Dragon Q6A is an Arm-based single-board PC with Windows and Linux support

https://liliputing.com/radxa-dragon-q6a-is-an-arm-based-single-board-pc-with-windows-and-linux-su...
1•wyldfire•30m ago•0 comments

Claude Is Taking the AI World by Storm, and Even Non-Nerds Are Blown Away

https://www.wsj.com/tech/ai/anthropic-claude-code-ai-7a46460e
13•pretext•31m ago•4 comments

Why the Tech World Thinks the American Dream Is Dying

https://www.wsj.com/tech/ai/why-the-tech-world-thinks-the-american-dream-is-dying-daf793dc
2•Brajeshwar•35m ago•2 comments

Ocean damage nearly doubles the cost of climate change

https://insideclimatenews.org/news/15012026/ocean-damage-nearly-doubles-the-cost-of-climate-change/
3•Brajeshwar•35m ago•0 comments

Meta retreats from metaverse after virtual reality check

https://www.theregister.com/2026/01/16/meta_quest_horizon_workrooms/
7•Brajeshwar•35m ago•0 comments

Beyond the Mordor Economy

https://thehonestsorcerer.substack.com/p/beyond-the-mordor-economy
1•ambientenv•36m ago•0 comments

Fuck subscriptions, bulk email for life using your Gmail API

https://godsend.email
1•Sayuj01•38m 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•9mo ago

Comments

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

https://reportmill.com/SnapCode

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