frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Define less, check more: Pyrefly now supports attrs

https://pyrefly.org/blog/pyrefly-attrs/
1•ocamoss•6m ago•0 comments

Hacker wipes Romania's land registry database

https://news.risky.biz/risky-bulletin-hacker-wipes-romanias-entire-land-registry-database/
1•speckx•7m ago•0 comments

The age of token efficiency, the age of libraries

https://golemui.com/blog/the-age-of-token-efficiency/
1•wtfdeveloper•8m ago•0 comments

Show HN: A 16-control subtractive synth for microcontrollers (39k ELF, web demo)

https://mini000.itch.io/beeper
1•isitcontent•10m ago•0 comments

Modder Makes GTA: Vice City Playable Inside GTA 3 Inside GTA: San Andreas

https://kotaku.com/gta-vice-city-made-playable-in-gta-3-made-playable-in-gta-san-andreas-2000717510
1•sam_anthony•12m ago•0 comments

Show HN: QUBE Predict – A cloud platform for drug response prediction

https://qube-predict.streamlit.app/
1•gfam999•14m ago•0 comments

10x and 100x increase in CPU core and node bandwidth, respectively over 20 yrs

https://ieeexplore.ieee.org/document/11196478
1•teleforce•14m ago•0 comments

Self-Service Ransomware as Security Against Local AI Tools

https://blog.brendankeaton.com/self-service-ransomware-as-security-against-local-ai-tools
1•BrKeaton•14m ago•1 comments

Languages That Stretch Your DI Capabilities and Imagination

https://programmingsimplicity.substack.com/p/languages-that-stretch-your-di-capabilities
1•surprisetalk•15m ago•0 comments

Simple Invoices. Faster Payments

https://duely-44998.bubbleapps.io/
2•03Leena03•19m ago•1 comments

Apple should let us schedule work-hours notifications for specific apps

2•hellowastaken•21m ago•3 comments

What if your AI agent could have its own WhatsApp number?

https://tyxter.com/
1•thiagocarboni•23m ago•4 comments

I predicted all WC2026 matches with Poisson Dixon-Coles – 64% accuracy

https://predictive-model.com
1•dosores•23m ago•0 comments

Underwater Kites Harvest Power from Slow-Moving Tides

https://spectrum.ieee.org/tidal-energy-underwater-kite-power
1•speckx•23m ago•1 comments

Inertia-1: An Open Exploration to a Unified Motion Foundation Model

https://yang-ai-lab.github.io/Inertia-1/
2•hasheddan•24m ago•0 comments

Association of sedentary behaviors w cortical, subcortical &white matter volumes

https://alz-journals.onlinelibrary.wiley.com/doi/10.1002/alz.71582
1•bookofjoe•27m ago•0 comments

Where B2B Buyers Ask on Reddit: 30 Days of Scan Data

https://cuescout.com/blog/where-b2b-buyers-actually-ask-on-reddit
2•tgdaimov•28m ago•0 comments

The asymmetry problem: AI safeguards are mainly annoying to the good guys

https://cephalosec.com/blog/the-asymmetry-problem-ai-safeguards-are-mostly-hindering-the-good-guys/
1•Versipelle•28m ago•0 comments

We're Squandering LEDs' Potential to Save Our Night Skies

https://spectrum.ieee.org/led-light-pollution
1•defrost•28m ago•0 comments

Landmark Science Report Confirms Big Oil's Fingerprints on Extreme Weather

https://www.commondreams.org/newswire/landmark-science-report-confirms-big-oils-fingerprints-on-e...
1•robtherobber•29m ago•0 comments

Codex is wearing out our devices

https://old.reddit.com/r/codex/comments/1v0m3lt/codex_is_wearing_out_our_devices/
1•spenvo•31m ago•2 comments

Grading Is Easy, Feedback Is Hard: Evaluating LLMs for OOP Assessment [pdf]

https://github.com/elipcs/grading-is-easy-feedback-is-hard/blob/main/docs/Grading_Is_Easy_Feedbac...
1•lucis•33m ago•0 comments

Memory Safety's Hardest Problem

https://matklad.github.io/2026/07/20/memory-safety-hardest-problem.html
1•surprisetalk•33m ago•0 comments

Show HN: Give your AI agent a personality (and a voice) without external APIs

https://fellowgeek.github.io/mcp-speak/
1•pcbmaker20•34m ago•0 comments

AgentBaiting: Fake AI Skills and MCP Servers Delivered Malware

https://www.island.io/blog/agentbaiting-how-800-fake-ai-skills-and-mcp-servers-delivered-malware
1•deronEx•34m ago•0 comments

Anduril reveals Thunder, a 'loyal wingman' drone for helicopters

https://breakingdefense.com/2026/07/anduril-reveals-thunder-a-loyal-wingman-drone-for-helicopters/
1•atlasunshrugged•34m ago•0 comments

The Most Counterintuitive Way to Build a Brain [video]

https://www.youtube.com/watch?v=cDxtFtoQVNc
1•surprisetalk•34m ago•0 comments

Chinese AI model Kimi K3 halts new signups amid skyrocketing demand

https://www.euronews.com/next/2026/07/20/chinese-ai-model-kimi-k3-halts-new-signups-amid-skyrocke...
2•teleforce•35m ago•0 comments

NYC Roam: 3D world with real transit and building data

https://www.nycroam.com/
2•heresalexandria•36m ago•2 comments

MIT researcher proposes a way to detect nuclear weapons in space

https://news.mit.edu/2026/mit-researcher-proposes-way-to-detect-nuclear-weapons-in-space-0708
3•JeanKage•37m ago•2 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.