frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

ExpMath: Exponentiating Mathematics

https://www.darpa.mil/research/programs/expmath-exponential-mathematics
1•bookofjoe•2m ago•0 comments

"Flaky breakthroughs" pervade coaching – but no one tracks them

https://chrislakin.blog/p/flaky-breakthroughs
1•eatitraw•2m ago•0 comments

Sudo: Local Privilege Escalation via chroot option

https://www.sudo.ws/security/advisories/chroot_bug/
1•mistercheph•4m ago•0 comments

Traceroute Lies. A Typical Misinterpretation of Output (2017)

https://movingpackets.net/2017/10/06/misinterpreting-traceroute/
1•tanelpoder•6m ago•1 comments

Propagation Networks (2009) [pdf]

https://dspace.mit.edu/bitstream/handle/1721.1/49525/MIT-CSAIL-TR-2009-053.pdf
1•gone35•11m ago•0 comments

Are Young People Having Enough Sex?

https://www.newyorker.com/magazine/2025/06/30/the-case-against-the-sexual-revolution-louise-perry-book-review-the-second-coming-carter-sherman
2•tysone•12m ago•0 comments

RFK Jr. Says AI Will Approve New Drugs at FDA ‘Very, Very Quickly’

https://gizmodo.com/rfk-jr-says-ai-will-approve-new-drugs-at-fda-very-very-quickly-2000622778
1•archagon•15m ago•1 comments

2 days of PHP taught me more about the web than 3 weeks of React

https://twitter.com/_trish_xD/status/1940046685608321370
1•bundie•15m ago•0 comments

NoteGen mobile devices are now available for early access

https://notegen.top
1•461229817•19m ago•0 comments

Trump's Handwritten Message to the Fed: Why Startups Should Pay Attention

https://masatoshinishimura.com/trumps-handwritten-message-to-the-fed-why-startups-should-pay-attention/
1•massanishi•20m ago•0 comments

iOS Activation Flaw Enables Pre-User Device Compromise and Identity Exposure

https://seclists.org/fulldisclosure/2025/Jun/27
2•pabs3•21m ago•0 comments

Kal Is Out at the Sun

https://kaltoons.substack.com/p/kal-is-out-at-the-sun
2•thunderbong•21m ago•0 comments

I tried to make new friends in my 30s

https://www.theguardian.com/lifeandstyle/2025/jul/01/adult-loneliness-making-friends-as-a-grown-up
1•legerdemain•22m ago•0 comments

Apple Direct Wireless Link

https://owlink.org/wiki/
3•gone35•23m ago•0 comments

Pulse Up – no algorithms, anonymously, real-time

https://www.indiehackers.com/post/pulse-up-no-algorithms-anonymously-real-time-drzHRm8UHg8PdbQLOXIC
1•pulseup•25m ago•0 comments

Holograph- Visual Programming with Propagator Networks

https://www.holograph.so/
2•dennishansen•28m ago•0 comments

Expand Your Worldview at Int'l Café

https://www.intl.cafe/
1•japappa•36m ago•0 comments

Apple

https://www.apple.com/
2•behnamoh•37m ago•1 comments

Sell your own data for $10 Dollars

https://momentarily.online/
1•Lovishotherdays•39m ago•1 comments

Radxa Unveils Intel N150 SoM and Carrier Board Supporting Six M.2 or U.2 Slots

https://linuxgizmos.com/radxa-unveils-intel-n150-som-and-carrier-board-with-dual-ethernet-and-support-for-six-m-2-or-u-2-devices/
2•chsum•39m ago•0 comments

The "Michael Angelakos Is Passion Pit" Residencies

https://passionpitmusic.substack.com/p/on-the-michael-angelakos-is-passion
1•JojoFatsani•44m ago•0 comments

Clamp / Median / Range

https://dotat.at/@/2025-07-02-cmp.html
2•Bogdanp•45m ago•0 comments

America's Mobile Security Crisis: It's Time for a Secure, Private Alternative

https://puri.sm/posts/americas-mobile-security-crisis-why-its-time-for-a-secure-private-alternative/
7•jethronethro•54m ago•0 comments

RFK Jr.'s health department calls Nature "junk science," cancels subscriptions

https://arstechnica.com/health/2025/07/rfk-jr-s-health-department-calls-nature-junk-science-cancels-subscriptions/
34•duxup•1h ago•10 comments

The Path to Medical Superintelligence

https://microsoft.ai/new/the-path-to-medical-superintelligence/
2•jonbaer•1h ago•0 comments

State of the Spack community: the Road to Version 1.0 [video]

https://indico.fnal.gov/event/69557/
1•teleforce•1h ago•0 comments

Product-Market Fit Is Retrospective Fiction

https://www.thebrokevc.com/p/product-market-fit-is-retrospective-fiction-7c36
2•joanwestenberg•1h ago•0 comments

People are using AI to 'sit' with them while they trip on psychedelics

https://www.technologyreview.com/2025/07/01/1119513/ai-sit-trip-psychedelics/
3•pseudolus•1h ago•0 comments

The Hamburger Menu Is No Longer a Hamburger Menu

https://www.datagubbe.se/dimburger/
7•zdw•1h ago•0 comments

Does education increase intelligence and does it matter? (2024)

https://theinfinitesimal.substack.com/p/does-education-increase-intelligence
1•johntfella•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•2mo ago

Comments

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

https://reportmill.com/SnapCode

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