frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

How the war on terror primed America for autocracy

https://www.economist.com/by-invitation/2026/06/02/how-the-war-on-terror-primed-america-for-autoc...
1•andsoitis•32s ago•0 comments

Show HN: Procman, a TUI for run Procfile based app locally

https://github.com/a-chacon/procman
1•achayala•1m ago•0 comments

Qwen-AgentWorld: Language World Models for General Agents

https://arxiv.org/abs/2606.24597
1•ilreb•2m ago•0 comments

Child care is becoming more affordable

https://www.economist.com/graphic-detail/2026/06/23/child-care-is-becoming-more-affordable
1•andsoitis•2m ago•0 comments

Dataland, an intense new AI art museum

https://www.economist.com/culture/2026/06/23/are-you-having-fun-yet-dataland-an-intense-new-ai-ar...
1•andsoitis•3m ago•0 comments

You may be taking the wrong painkiller

https://dynomight.net/painkillers/
1•colinprince•9m ago•0 comments

DiffusionBench: Towards Holistic Evaluation of Generative Diffusion Transformers

https://github.com/End2End-Diffusion/diffusion-bench
1•ilreb•11m ago•0 comments

Woman with Alzheimer's starts conversing again after taking psilocybin

https://www.newscientist.com/article/2531319-woman-with-alzheimers-starts-conversing-again-after-...
3•nazgul17•18m ago•0 comments

I Read the Palantir Manifesto

https://corbettreport.com/i-read-the-palantir-manifesto/
2•paulnpace•19m ago•0 comments

Find FA's in your local area

https://www.falists.co/
1•mattmerrick•20m ago•0 comments

UK tribunal gives go ahead for $4B lawsuit against Apple over iCloud services

https://www.msn.com/en-gb/money/technology/uk-tribunal-gives-go-ahead-for-4-billion-lawsuit-again...
1•geoffbp•27m ago•0 comments

Show HN: Interactive and realistic water ripple physics

https://github.com/Whynotmetoo/water-ripples
1•carsonye•28m ago•0 comments

Design Kits for iOS, iPadOS, and macOS 27

https://developer.apple.com/news/?id=e2lxw9l1
2•soheilpro•32m ago•0 comments

China Minerals Threatens EU; AI Warfare Dominates Japan, WeChat

https://asiaai.fyi/wp-login.php?redirect_to=https%3A%2F%2Fasiaai.fyi%2Fwp-admin%2Fpost.php%3Fpost...
2•dweisinger•35m ago•0 comments

Fear in Four Dimensions

https://taylor.town/fear-4d
3•Curiositry•38m ago•0 comments

Heliodor: An RVA23-Compliant Multicore Out-of-Order RISC-V Core in Veryl

https://veryl-lang.org/blog/heliodor-rva23/
1•dalance•41m ago•0 comments

OpenJTD: Project to Reverse-Engineer Ichitaro Word Processor Files Used in Japan

https://github.com/KimEJ/OpenJTD
1•nogajun•46m ago•0 comments

Chinese supercomputer leapfrogs best US machines to be ranked fastest

https://www.theguardian.com/technology/2026/jun/24/china-supercomputer-world-fastest-top500-ranki...
5•jethronethro•52m ago•0 comments

Tech stocks slump as AI bubble fears loom

https://www.axios.com/2026/06/23/tech-stocks-ai-bubble
10•1vuio0pswjnm7•54m ago•0 comments

SpaceX raises $25B in debt sale less than two weeks after IPO

https://www.cnbc.com/2026/06/23/spacex-debt-bond-market-ipo.html
3•1vuio0pswjnm7•56m ago•2 comments

Arabian Sand Boa: Python interpreter with frontier intelligence conditional eval

https://github.com/hopafoot/arabian-sand-boa
2•hopafoot•58m ago•1 comments

The Part After Done

https://howstrangeitistobeanythingatall.com/post/2026-06-23-the-part-after-done
2•alanbotts•1h ago•0 comments

Purroute – An auto-detecting proxy router that translates between protocols

https://github.com/femboyisp/purroute
1•vxfemboy•1h ago•0 comments

The Fastest Python Struct?

https://www.crumpledpaper.tech/2026-06-21-python-struct-profiling/
2•JPHutchins•1h ago•0 comments

FDA drops enforcement against Whoop after it tweaks blood pressure feature

https://www.statnews.com/2026/06/23/fda-drops-enforcement-against-wearable-maker-whoop/
2•brandonb•1h ago•1 comments

China's LineShine Supercomputer Dethrones US' El Capitan

https://www.tomshardware.com/tech-industry/supercomputers/chinas-lineshine-supercomputer-dethrone...
5•yogthos•1h ago•0 comments

Chinese universities are cutting language majors to make way for AI

https://restofworld.org/2026/chinese-universities-drop-humanities-ai/
6•higginsniggins•1h ago•0 comments

UN chief urges AI companies to 'come clean' about the pollution they generate

https://www.fastcompany.com/91563535/un-chief-urges-ai-companies-come-clean-about-pollution-create
2•1vuio0pswjnm7•1h ago•0 comments

SpaceX Has Successful Starfall Demo

https://www.nextbigfuture.com/2026/06/spacex-has-successful-starfall-demo.html
6•bookmtn•1h ago•0 comments

War by Other Means

https://letter.palladiummag.com/p/war-by-other-means
4•jger15•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.