frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

GLM-5.2 Beat Fable 5 at Website Design

https://twitter.com/Designarena/status/2068030598028087788
2•tosh•4m ago•0 comments

TOML Schema

https://toml-schema.org/
1•pramodbiligiri•10m ago•0 comments

Show HN: Make every bug perfectly reproducible

https://workers.io/
2•chaitanyya•11m ago•0 comments

Coding a Brick Tower

https://www.youtube.com/watch?v=DAMiS2PGTEE
1•dvrp•17m ago•0 comments

Show HN: Self-hostable academic paper manager (linxiv)

https://github.com/linxiv-dev/linXiv
2•jeuribe•17m ago•0 comments

Brain-computer interface trials are taking off

https://www.technologyreview.com/2026/06/19/1139270/brain-computer-interface-trials-are-taking-off/
1•joozio•24m ago•0 comments

Ask HN: Will we start seeing tools for LLM use?

1•bonigv•27m ago•1 comments

Federal regulators order grid operators speed power2energy-hungry AI datacenters

https://apnews.com/article/power-electricity-ai-plants-data-centers-grid-506e3d206871111f15c3c62f...
1•latentframe•34m ago•0 comments

Show HN: A Context Brain for You (and Your AI Agent)

https://gcontext.ai
1•bsampera•40m ago•0 comments

GitHub Copilot and Dev Productivity: An Observational Dose-Response Analysis

https://arxiv.org/abs/2606.00438
1•theanonymousone•41m ago•0 comments

Britain Learned and Unlearned Nuclear

https://worksinprogress.co/issue/how-the-uk-learned-and-unlearned-nuclear/
2•leonidasrup•43m ago•0 comments

Möbius Chess

https://mchess.io/v/m%C3%B6bius/
1•modinfo•45m ago•0 comments

Show HN: Passport Stamp Archive, browse real border stamps from around the world

https://ajin.im/is/building/stamps/
4•poppypetalmask•47m ago•0 comments

Doom Composer Bobby Prince Has Died

https://www.engadget.com/2198098/doom-composer-bobby-prince-has-died/
2•naves•51m ago•0 comments

Open source alternative to brain by perplexity

https://github.com/raphaelwkago-sketch/rudi
1•w4mwati•52m ago•0 comments

Show HN: Autonomy – Self-Harness/Self-Directed AI Agent Core Under Development

https://autonomy-landing-page.vercel.app/
2•agentic_vector•54m ago•0 comments

How R&D Affects Absorptive Capacity

https://camerongordon0.substack.com/p/how-r-and-d-affects-absorptive-capacity
1•iciac•59m ago•0 comments

How Does Bluetooth Work?

https://www.bbc.co.uk/programmes/w3ct8k71
3•vismit2000•1h ago•0 comments

Show HN: Pytest-tia – run only the tests your Git diff affects, with receipts

https://github.com/breadMSA/pytest-tia
2•BreadWasEaten•1h ago•0 comments

I created an open source app to check if a photo is from an AI or a Camera

https://github.com/Wavesonics/C2PAVerify
2•Wavesonics•1h ago•1 comments

Is It Possible to Block Childrens' Access to Social Media? [video]

https://www.youtube.com/watch?v=2jJeSgO_MGo
2•dev_hugepages•1h ago•0 comments

How Russian President Vladimir Putin plans to live forever

https://www.vox.com/podcasts/491360/vladimir-putin-live-forever-26-billion-cryo-pigs-longevity-guru
6•thunderbong•1h ago•1 comments

Ask HN: Using OPA/Rego to secure MCP tool execution. Does it make sense?

4•wmolino•1h ago•0 comments

Show HN: AI Voice Generator for Creators

https://speakora.io/
2•laimingj•1h ago•0 comments

I made SHORT SQUEEZE, a finance movie trailer created with AI

https://www.instagram.com/reel/DZy5nOKN7Pz/
2•pyipeng•1h ago•0 comments

Mastodon 4.6 Released

https://lwn.net/Articles/1078466/
4•daesorin•1h ago•0 comments

Voxtral Realtime WebGPU – A Hugging Face Space by Mistralai

https://huggingface.co/spaces/mistralai/Voxtral-Realtime-WebGPU
2•fagnerbrack•1h ago•0 comments

Release 4.0.0 · HuggingFace/Transformers.js

https://github.com/huggingface/transformers.js/releases/tag/4.0.0
2•fagnerbrack•1h ago•0 comments

Big tech engineers need big egos

https://www.seangoedecke.com/big-tech-needs-big-egos/
4•fagnerbrack•1h ago•0 comments

Lisp in the Rust Type System

https://github.com/playX18/lisp-in-types/
4•quasigloam•1h 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.