frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Sir Nicholas Winton – BBC Programme "That's Life" Aired in 1988 [video]

https://www.youtube.com/watch?v=6_nFuJAF5F0
1•handfuloflight•34s ago•0 comments

Spectral Geodesic Routing: Traffic Engineering via Laplacian Potentials

https://zenodo.org/records/18193686
1•andrespi•2m ago•0 comments

Native iOS and Android Nullschool App

https://twitter.com/cambecc/status/2010254018598392022
1•pppone•2m ago•0 comments

Uruguay's Renewable Charge: A Small Nation, a Big Lesson for the World

https://www.forbes.com/sites/kensilverstein/2025/10/19/uruguays-renewable-charge-a-small-nation-a...
1•ciconia•3m ago•0 comments

A Practical Guide to Build Secure MCP Servers

https://go.mcptotal.io/blog/a-practical-guide-to-build-secure-mcp-servers
1•agentictime•5m ago•0 comments

Whenwords: A relative time formatting library, with no code

https://github.com/dbreunig/whenwords
1•todsacerdoti•6m ago•0 comments

Mossad urges Iran protests, says agents present

https://www.jpost.com/middle-east/iran-news/article-881733
1•ParentiSoundSys•8m ago•0 comments

21 years of IDE evolution in one chart (2004 – 2025)

https://twitter.com/willwangcc/status/2010259528391307510
1•will_wang•9m ago•0 comments

Annote: A Turing complete language using only Java annotations as its syntax

https://github.com/kusoroadeolu/annote
1•kushv•9m ago•1 comments

Things I've quit doing at my desk

https://justinjackson.ca/i-quit-my-desk
1•Tomte•10m ago•0 comments

A Unique Performance Optimization for a 3D Geometry Language

https://cprimozic.net/notes/posts/persistent-expr-memo-optimization-for-geoscript/
1•Ameo•17m ago•0 comments

Markdown Is a Disaster: Why and What to Do Instead

https://www.karl-voit.at/2025/08/17/Markdown-disaster/
1•todsacerdoti•17m ago•0 comments

Elon Musk says X's new algorithm will be made open source next week

https://www.engadget.com/big-tech/elon-musk-says-xs-new-algorithm-will-be-made-open-source-next-w...
2•O1111OOO•18m ago•0 comments

I hope to help you evaluate your GenAI App

https://github.com/shihongDev/evalyn
1•shloveai•26m ago•1 comments

After 20 Years, This Scientist Proved Birds Can Talk and Use Grammar [video]

https://www.youtube.com/watch?v=jmys2abx4co
1•theogravity•27m ago•0 comments

What do you think about a "linter" for code logic?

https://commitguard.ai
1•moshetanzer•28m ago•1 comments

Removing Tahoe's Unwanted Menu Icons

https://weblog.rogueamoeba.com/2026/01/10/removing-tahoes-unwanted-menu-icons/
1•dbushell•30m ago•0 comments

Gixy-Next: Nginx Configuration Security and Hardening Scanner

https://gixy.io/
1•mmsc•33m ago•0 comments

Debian Taco – Towards a GitSecDevOps Debian

https://blog.josefsson.org/2026/01/09/debian-taco-towards-a-gitsecdevops-debian/
1•pabs3•35m ago•0 comments

Netlify Is Down

https://www.netlifystatus.com
1•forgingahead•39m ago•0 comments

Linus is vibe coding

https://github.com/torvalds/AudioNoise
8•dhruv3006•43m ago•2 comments

80% of Rye in 20% of the Time [1/3]

https://ryelang.org/blog/posts/learn_80_rye_in_20_time_code/
3•todsacerdoti•46m ago•0 comments

Notes on Enterprise Architecture from Doing the Job

https://github.com/justinamiller/EnterpriseArchitecture
2•maverickeye•48m ago•1 comments

Instagram breach exposes data of 17.5M accounts

https://twitter.com/H4ckmanac/status/2009870969998049400
3•thunderbong•48m ago•1 comments

Côme, une ville italienne dénaturée

https://www.lemonde.fr/m-le-mag/article/2026/01/02/en-italie-la-ville-de-come-denaturee-pour-deve...
1•altro•49m ago•0 comments

A new type of microscope lets scientists observe life unfolding inside cells

https://www.thebrighterside.news/post/a-new-type-of-microscope-lets-scientists-observe-life-unfol...
2•01-_-•49m ago•1 comments

Practical .NET Coding Guidelines We Use Internally

https://github.com/justinamiller/DotNet-Coding-Guidelines
1•maverickeye•50m ago•1 comments

Steam Machine price leak shakes the console market

https://comuniq.xyz/post?t=696
4•01-_-•51m ago•2 comments

Iranian regime tries to shut down Starlink

https://www.timesofisrael.com/iran-appears-to-jam-starlink-after-shutting-down-comms-networks/
38•ukblewis•58m ago•19 comments

Backing the Backslash

https://shadycharacters.co.uk/2025/03/backing-the-backslash/
1•everybodyknows•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•8mo ago

Comments

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

https://reportmill.com/SnapCode

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