frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Slash is a tiny helper that keeps you organized and focused

https://getslash.co/
1•igtztorrero•33s ago•0 comments

How to Implement an FPS Counter

https://vplesko.com/posts/how_to_implement_an_fps_counter.html
1•vplesko•37s ago•0 comments

Do This Instead of Rock Paper Scissors If You Are More Than 2 People

https://vplesko.com/posts/zimi_zami_zum.html
1•vplesko•1m ago•0 comments

2× – nine months later: We did it (Intercom)

https://ideas.fin.ai/p/2x-nine-months-later
1•mmarian•2m ago•0 comments

This Slug Can Survive on Photosynthesis [video]

https://www.youtube.com/watch?v=IH_uv4h2xYM
1•CharlesW•2m ago•0 comments

KDE at 30

https://kde.org/anniversaries/30/
2•kristianp•4m ago•0 comments

Apple's Cal AI crackdown signals it's still policing the App Store

https://techcrunch.com/2026/04/21/apples-cal-ai-crackdown-signals-its-still-policing-the-app-store/
2•CharlesW•4m ago•0 comments

The Infamous Coin Toss

https://ergodicityeconomics.com/2023/07/28/the-infamous-coin-toss/
1•efavdb•5m ago•0 comments

Global growth in solar "the largest ever observed for any source"

https://arstechnica.com/science/2026/04/global-growth-in-solar-the-largest-ever-observed-for-any-...
2•tambourine_man•6m ago•0 comments

Google Gemini Deep Research Agents Now Search Both Web and Private Data via MCP

https://the-decoder.com/google-launches-deep-research-and-deep-research-max-agents-to-automate-co...
2•demiurges•8m ago•0 comments

Meta will record employees' keystrokes and use it to train its AI models

https://techcrunch.com/2026/04/21/meta-will-record-employees-keystrokes-and-use-it-to-train-its-a...
1•cebert•9m ago•1 comments

San Diego rents declined more than 19 of 20 top US markets after surge in supply

https://www.kpbs.org/news/economy/2026/03/27/san-diego-rents-declined-more-than-19-of-nations-top...
8•littlexsparkee•10m ago•1 comments

I'm Sick of AI Everything

2•jonthepirate•12m ago•0 comments

Show HN: Twitter Bookmarks Downloader – Export and Bulk Delete X Bookmarks

https://chromewebstore.google.com/detail/twitter-bookmarks-downloa/kgmbiokleeacfnkfihheldbdapoifclb
1•qwikhost•13m ago•0 comments

The Wild Story of the Teton Dam Failure

https://www.youtube.com/watch?v=J7ieKmP96Hc
1•mhb•15m ago•0 comments

NASA Moonbound Episode 1 [video]

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

Kubuntu 26.04 Beta – Resolute Raccoon

https://kubuntu.org/news/kubuntu-26-04-beta/
1•kristianp•18m ago•0 comments

Google WeatherNext 2 – Our most accurate AI weather forecasting technology

https://deepmind.google/science/weathernext/
1•Anon84•20m ago•0 comments

Topologies on Finite Groups that Contain Proper Subgroups

https://m-slee.netlify.app/posts/finite-topo-subgroups
1•richard_chase•21m ago•0 comments

Show HN: PayClaw – Give your AI agent a wallet it can spend

https://www.payclaw.me/
1•onsari•22m ago•0 comments

The Problem with Solutions (2024)

https://webdev.rip/notes/the-problem-with-solutions
2•mooreds•23m ago•1 comments

Florida AG launches criminal investigation into ChatGPT over FSU shooting

https://www.npr.org/2026/04/21/nx-s1-5793967/florida-openai-investigation-mass-shooting-fsu
1•pseudolus•25m ago•0 comments

Building a Platform Is a Balancing Act

https://matthewboston.com/blog/building-a-platform-is-a-balancing-act.html
2•bostonaholic•31m ago•0 comments

Rich Sutton's University of Alberta Convocation Address

http://www.incompleteideas.net/IncIdeas/ConvocationAddress.html
3•mercurybee•34m ago•0 comments

Show HN: Group Relative Policy Optimization, visualized step by step

https://adamsohn.com/grpo/
1•dataviz1000•36m ago•0 comments

OpenAI Under Criminal Probe in Florida over Mass Shooter's ChatGPT Use

https://www.wsj.com/us-news/law/openai-under-criminal-probe-in-florida-over-mass-shooters-chatgpt...
2•reed1234•42m ago•1 comments

New Drugs for Pancreatic Cancer Show Remarkable Promise for Deadly Disease

https://www.wsj.com/health/healthcare/new-drugs-for-pancreatic-cancer-show-remarkable-promise-for...
3•megacorp•44m ago•0 comments

We translated the Palantir manifesto for actual human beings

https://www.theverge.com/policy/915237/palantir-manifesto
3•tastyface•45m ago•1 comments

Voxyflow – An AI companion that plans, codes, and ships with you

https://github.com/jcviau81/voxyflow
1•jcviau•45m ago•0 comments

A true story about interviewing at Google in 2006

https://www.threads.com/@peternbiddle/post/DXaCcKuEvAA
4•Anechoic•46m 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•12mo ago

Comments

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

https://reportmill.com/SnapCode

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