frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

SIM Hijacking

https://github.com/lexs201992-gif/motorola-g04s-t606-spreadtrum/blob/main/Simjacker.yar
1•lexs201992-gif•3m ago•0 comments

Intriguing Stories in Computer Science

https://inventwithpython.com/blog/intriguing-stories-in-cs.html
1•gregsadetsky•3m ago•0 comments

Show HN: Decant – Understand how you spend tokens

https://github.com/dosu-ai/decant
2•devstein•3m ago•0 comments

Why is zero plural? (2024)

https://ell.stackexchange.com/questions/352455/why-is-zero-plural
1•downbad_•6m ago•0 comments

Bun v1.4 with an additional 1,493 passed tests from the Node test suite

https://twitter.com/bunjavascript/status/2087436767054213517
1•CrimsonRain•7m ago•1 comments

IBM Let Me Inside the Machine Nobody's Watching in the AI Race [video]

https://www.youtube.com/watch?v=SH00Rso79Gg
1•binyu•8m ago•0 comments

SpeakEZ – free, local dictation for macOS that cleans up filler words

https://github.com/AxelVandenHeuvel/speak-ez
1•axel2moon•9m ago•1 comments

irc2Frotz – play interactive fiction over an IRC channel

https://github.com/DavesCodeMusings/irc2Frotz
1•emigre•10m ago•0 comments

"the fourth place" and why "third places" have fallen short (2023)

https://thesfcommons.substack.com/p/introducing-the-fourth-place-and
1•jjleads•12m ago•0 comments

Influencers draw backlash for attending OpenAI's first luxury trip

https://techcrunch.com/2026/08/03/influencers-draw-backlash-for-attending-openais-first-luxury-trip/
1•cdrnsf•13m ago•0 comments

UA Drone Forces Commander's Message to Baltic States: Clear the Russian Border

https://balticsentinel.eu/8526419/ukrainian-drone-forces-commander-s-message-to-the-baltic-states...
2•Teever•14m ago•0 comments

Why Can't You Find Canned Sardines?

https://corneroffifth.studio/why-cant-you-find-canned-sardines-right-now/
3•carabiner•14m ago•0 comments

TIL: Humans evolved white sclera diverging from rest of animals

https://en.wikipedia.org/wiki/Cooperative_eye_hypothesis
1•inshard•16m ago•0 comments

Reddit now requiring an account to access old.reddit.com

3•wrongdumbass•18m ago•1 comments

AI Course for Golang incorrectly generates content about the Go board game

https://github.com/nilbuild/developer-roadmap/issues/10226
1•connorboyle•21m ago•0 comments

Show HN: Remove AI Watermark from Text

https://nomark.me/#text-watermark
1•textcortex•21m ago•0 comments

Life on the Uncanny Precipice

https://nsaphra.net/post/uncanny/
1•cdrnsf•22m ago•0 comments

Docker VMM Public Beta: A Complete Overhaul, Built for Performance

https://www.docker.com/blog/docker-vmm-public-beta/
1•Slix•23m ago•1 comments

Trentino DataMine Opens 6MW Data Center Inside Active Dolomites Mine

https://mlq.ai/news/trentino-datamine-opens-6mw-data-center-inside-active-dolomites-mine/
2•T-A•23m ago•0 comments

Fingerprinting documents with steganography (Fast Fwd Labs, 2015)

https://blog.fastforwardlabs.com/2017/06/25/fingerprinting-documents-with-steganography.html
1•aanet•25m ago•1 comments

In the Footsteps of Robert Moses

https://aresluna.org/in-the-footsteps-of-robert-moses/
2•throwaway270925•27m ago•0 comments

Mother of Invention

https://www.economist.com/1843/2018/02/27/mother-of-invention
1•geneticdrifts•29m ago•1 comments

Show HN: Keep batch LLM jobs from starving interactive traffic (TypeScript)

https://github.com/janbalangue/async-bulkhead-llm
1•janbalangue•29m ago•0 comments

Show HN: Xpt – minimalist C package manager

https://git.sr.ht/~juanvel400/xpt
1•juanvel400•32m ago•0 comments

Contributing to the Lean Mathlib Library – Tanner Duve

https://www.youtube.com/watch?v=GqsBVW3d_vc
1•abaradwaj•34m ago•1 comments

Ask HN: Why Connected Home Appliances?

2•ripe•35m ago•2 comments

circle rain sin

https://openprocessing.org/@u141185/2376570
1•bookofjoe•37m ago•0 comments

Beer Nuts

https://en.wikipedia.org/wiki/Beer_Nuts
2•reaperducer•37m ago•0 comments

Senior Scala/Java Developer

1•ali_rezvani•37m ago•1 comments

A simple fix for LLM tail latency

https://engineering.myhoai.com/posts/a-simple-fix-for-llm-tail-latency/
1•zhixuan•38m 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.