frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Scientists tracking 'interstellar' object that's come from another solar system

https://www.independent.co.uk/space/interstellar-object-solar-system-science-b2781329.html
1•zzzeek•21s ago•0 comments

Numerical Electromagnics Code (NEM)

https://www.nec2.org/
1•hyperific•4m ago•0 comments

I Can't Sleep (2023)

https://blog.paulbiggar.com/i-cant-sleep/
1•ciconia•6m ago•0 comments

Ask HN: What's the last non-obvious skill that made you better at your job?

2•rajkumarsekar•9m ago•0 comments

G/O Media Sells Kotaku as It Winds Down Operations

https://www.nytimes.com/2025/07/02/business/media/kotaku-go-media-sale.html
1•reaperducer•15m ago•0 comments

Kamishibai

https://en.wikipedia.org/wiki/Kamishibai
1•benbreen•21m ago•0 comments

Data Ecofeminism

https://dl.acm.org/doi/10.1145/3715275.3732027
2•slater•25m ago•0 comments

Show HN: DeepMarketScan: Counter Trade Retail Traders

https://www.deepmarketscan.com/landing
1•retroviber•25m ago•0 comments

Foxconn mysteriously tells Chinese workers to quit India and return to China

https://appleinsider.com/articles/25/07/02/foxconn-mysteriously-tells-chinese-workers-to-quit-india-and-return-to-china
2•signa11•28m ago•0 comments

Maxell MXCP-P100 Cassette Tape Player Offers a Retro Look with Modern Features

https://hypebeast.com/2025/7/maxell-mxcp-p100-cassette-player-release-info
1•Bluestein•29m ago•0 comments

Foxconn Pulls Chinese Staff from India in Hurdle for Apple

https://www.bloomberg.com/news/articles/2025-07-02/foxconn-pulls-chinese-staff-from-india-in-hurdle-for-apple-aapl
6•mgh2•31m ago•0 comments

The world of Voronoi diagrams (2021)

https://fbellelli.com/posts/2021-07-08-the-fascinating-world-of-voronoi-diagrams/
2•nickcotter•38m ago•0 comments

How I Built a P2P Texas Hold'em Game (Part 1: Protocol and Encryption)

https://medium.com/@predator.ray/how-i-built-a-p2p-texas-holdem-game-part-1-protocol-encryption-d043edb93288
1•zetaplusae•41m ago•0 comments

Denial vs. OpenAI, Inc. (ND Cal 2025) [pdf]

https://archive.org/download/gov.uscourts.cand.452129/gov.uscourts.cand.452129.1.0.pdf
1•1vuio0pswjnm7•45m ago•0 comments

Kilmar Abrego Garcia describes beatings and psychological torture in CECOT

https://www.politico.com/news/2025/07/02/kilmar-abrego-garcia-salvadoran-prison-account-00438153
6•wk_end•50m ago•0 comments

Dalai Lama vows he won't be the last leader of Tibetan Buddhism

https://www.cnn.com/2025/07/02/asia/dalai-lama-reincarnation-announcement-intl-hnk
2•Tomte•1h ago•0 comments

OfflineInstallers – Download browser and .NET Framework offline installers

https://offlineinstallers.com/
1•louizo79•1h ago•0 comments

Colossus: The Forbin Project (1970) [video]

https://archive.org/details/colossus-the-forbin-project-1970
1•petethomas•1h ago•0 comments

What's wrong with AAA games? The development of the next Battlefield has answers

https://arstechnica.com/gaming/2025/07/behind-the-next-battlefield-game-culture-clash-crunch-and-colossal-stakes/
3•Tomte•1h ago•1 comments

Options for Handling Form Submissions Without a Back End

https://devmatter.app/blog/how-to-handle-form-submissions-without-a-backend
1•adityavinodh•1h ago•1 comments

AetherScript: AI-Assisted Development That You Can Trust

1•papabili•1h ago•0 comments

NIH Scientists Link Air Pollution and Lung Cancer Mutations in Non-Smokers

https://insideclimatenews.org/news/02072025/air-pollution-linked-to-lung-cancer-mutations/
9•OutOfHere•1h ago•0 comments

Demonstration of Algorithmic Quantum Speedup for an Abelian Hidden Subgroup

https://journals.aps.org/prx/abstract/10.1103/PhysRevX.15.021082
2•boilerupnc•1h ago•0 comments

Show HN: Track your favorite music, movies, shows, games, books and more

https://calendia-app.com
1•Andrew8581•1h ago•0 comments

Nothing's Untestable

https://antithesis.com/blog/2025/bugbash_2025/mitchell_hashimoto/
3•zdw•1h ago•0 comments

Show HN: I made a social media platform

https://onelined.tech/
3•sahil423•1h ago•1 comments

How to write Rust in the kernel part 1

https://lwn.net/Articles/1024202/
2•pkilgore•1h ago•0 comments

CEOs Start Saying the Quiet Part Out Loud: AI Will Wipe Out Jobs

https://www.wsj.com/tech/ai/ai-white-collar-job-loss-b9856259
10•planetjones•1h ago•7 comments

Debian on Apple M1/M2: status and call for testers

https://lists.debian.org/msgid-search/86037b55-e1b8-49e6-a0c9-f961b4ddc1a1@disroot.org
7•pabs3•1h ago•1 comments

GitHub Copilot coding agent now has a Playwright web browser

https://github.blog/changelog/2025-07-02-copilot-coding-agent-now-has-its-own-web-browser/
1•felineflock•1h ago•0 comments
Open in hackernews

CheerpJ 4.1: Java in the browser, now supporting Java 17 (preview)

https://labs.leaningtech.com/blog/cheerpj-4.1
120•pjmlp•1mo ago

Comments

letters90•1mo ago
The minecraft demo is quite impressive

https://browsercraft.cheerpj.com/

apignotti•1mo ago
Thanks. Architecturally, beside the unmodified Minecraft and LWJGL jars, this demo uses the original JNI code from LWJGL, compiled from C++ to WebAssembly.
90s_dev•1mo ago
Clever.

Java seems to have come a long way since 2015. Might be worth looking into, if only I could find a page that summarizes every new language feature.

_old_dude_•1mo ago
Java Almanac has a list of all features https://javaalmanac.io/features/

And the main page let you compare API versions https://javaalmanac.io/

creatonez•1mo ago
I love this... but I've grown disappointed by these technically impressive demos, now that older Minecraft running in WASM is no longer novel ever since Eaglercraft came out. As per the readme:

> The latest version of Minecraft. Newer releases of Minecraft use a newer version of Java and OpenGL which we currently do not support. [...] This demo demonstrate these capabilities by running an older version (1.2.5) of Minecraft and LWJGL entirely in the browser.

Sadly, no one seems to be able to get past Minecraft 1.5, which was released in 2013 :(

Edit: Hmm... not sure when this happened, but Eaglercraft supports 1.12 (2017) now. Neat! Might be hard to go further than that, since modern Minecraft uses Java 21 / OpenGL 3.2, and LWJGL itself has evolved significantly in its platform APIs.

apignotti•1mo ago
As a matter of fact we have internally achieved 1.16.5.

The Java side of things works out-of-the-box, but LWJGL3 JNI code uses some subtle techniques that are yet supported in public builds of CheerpJ.

Now that we have Java 17 support we expect to be able to move even further.

bufferoverflow•1mo ago
Works on my smartphone. That's wild.
boomskats•1mo ago
"Ha! I KNEW it! WebAssembly literally IS just a reinvention of the JVM!!1"

Wouldn't it be funny, after all that sandboxing and component modelling, if it was JNI and SwingSet3 that finally made enterprise Wasm a thing?

(also this is impressive, great job)

txdv•1mo ago
It compiles to JavaScript and not wasm AFAIK
apignotti•1mo ago
The target of the JIT compiler is indeed JavaScript, since WasmGC is still too limited.

This is fundamentally an implementation detail though, when we adopt WasmGC there will be no user visible change beside a potential performance improvement

dunham•1mo ago
How do you deal with numbers? Javascript doesn't do 64-bit numbers and naively multiplying 32-bit numbers can loose lower bits. If I remember right GWT used two numbers to represent 64-bit and ignored the 32-bit issue.
apignotti•1mo ago
BigInts are the current solution. There are other solutions as well.
txdv•1mo ago
Can you point out the limitations?
lesuorac•1mo ago
Java Applets probably would've snuffed out WASM if it was added into a browser by default (instead of an extension).

However, they were pretty insecure and caused a ton of problems for the browser [1] and I'm guessing Oracle had no interest in providing free work in a secure solution. So they got eliminated.

[1]: https://blog.chromium.org/2013/09/saying-goodbye-to-our-old-...

hawk_•1mo ago
This is incredible. Kudos to the team behind it. This requires knowing both the browser and JVM quite well.

I do wonder though why Oracle doesn't seem interested in building or acquiring some JVM in the browser.

devrandoom•1mo ago
> why Oracle doesn't seem interested

It doesn't come with any lucrative extortion options to squeeze millions out of enterprises.

hawk_•1mo ago
There ought be a fair amount of legacy Java code sitting in enterprises that they would be willing to pay for an Oracle® seal of approval for running parts in the browser.

May be they are aiming for graalvm to be the answer eventually. (actually I don't know whether graalvm in the browser is effectively aot and brings all the reflection/dynamic code issues with it.) Curious if someone knowledgeable in that ecosystem knows.

maratc•1mo ago
> I do wonder though why Oracle doesn't seem interested

And then what? Everybody would write Java code and run their ... not quite "apps" but we can call it app-lets -- in the browser, so that "write once run everywhere" could be achieved?

mooreds•1mo ago
Nooo! I spent a summer in college writing physics education applets. The scars are still there.

Seriously, I do wonder what the real value of some of this WASM stuff is. I mean, seems cool to run a java (or rust or <insert language here>) app in the browser, but what is the real world use case? If I run an app in the browser, I still have to do all the server side business validation because "you should never trust the client".

What am I missing?

Edit: on reading other comments, apparently this is direct-to-js compilation, not WASM. The intent of the comment still stands.

mickael-kerjean•1mo ago
For my use case of building Filestash, WASM is a game changer in those 2 areas:

1. use libraries from ecosystem outside JS. In the past few months, I've added support for file types like psd, dbf, arrow, parquet and about 50 more. To give a concrete example: https://www.filestash.app/tools/parquet-viewer.html WASM open up a very exciting door. In the same idea, I stumbled upon a couple JAVA only libraries which I would love to ship on a browser and not have to create web service to interact with those.

2. enable third party to make plugin that can run in my app in a safe way. In my case, plugins are zip files containing a bunch of assets and the WIP piece is to be able to put wasm in there that will run server side without giving those plugins a blank check for acting crazy.

mooreds•1mo ago
Thanks, that's super helpful. For #2, do you run the WASM plugins in a sandboxed browser?
jeffreportmill1•1mo ago
I totally agree with this! Oracle still spends time and money promoting Java client, and the browser is now the largest client platform. They could really revitalize Java client by backing CheerpJ.
soco•1mo ago
I don't see what for me would be the key document: how is this technology addressing the plethora of reasons which made the applets fail.
apignotti•1mo ago
Applets were executed completely outside of the browser sandbox. An absolute disaster from the security standpoint.

CheerpJ is effectively just a very sophisticated JavaScript/WebAssembly library and it plays by the rules of the browser sandbox.

sunshine-o•1mo ago
> Applets were executed completely outside of the browser sandbox. An absolute disaster from the security standpoint.

It is easy to forget Java (applets, web start) was a thing during the Windows 98 era, meaning a time when there was (almost?) no security. People were downloading and running random .exe files all the time.

There was no browser sandboxing and you could run wild Basic code in IE.

Sun with Java were the first one to try to solve that problem. It was imperfect but way better than what others were doing at the time.

rst•1mo ago
WASM has a better security sandbox. (Designed in from the beginning, not the thousand-fingers-in-the-dike retrofit that was the Java SecurityManager -- which was eventually deprecated and abandoned along with the Applet tech it was intended to support.)
afavour•1mo ago
I’d imagine the biggest one is that it doesn’t require the user to have installed a Java runtime on their computer.
maratc•1mo ago
Applets didn’t fail because of missing JRE, it was included in IE. It was only after Microsoft started playing around with the implementation that Sun asked them to stop, which they did. Only then did a missing JRE become an issue.
matsemann•1mo ago
Wow, seriously impressive. GWT had so many drawbacks this seems to solve (like everything with reflection not working).

Since it's the runtime being ran on wasm, does this also allow for kotlin, clojure, scala etc as long as it's valid bytecode?

apignotti•1mo ago
Yes, any JVM language should work. We did some experiments with Kotlin specifically in the past.
matsemann•1mo ago
Thanks! I know kotlin has a JS target, but being able to just deploy the software as-is without a separate codebase for the interface, dealing with all the differences of the platforms etc is something else entirely. Very cool.
quaintdev•1mo ago
They ran freaking Intellij IDE inside the browser. Insane!
Alifatisk•1mo ago
That's actually very impressive, wow
gwbas1c•1mo ago
> CheerpJ can run existing, full Java applications from unmodified JARs, with no recompilation or pre-processing, straight from bytecode.

I'm kind of curious what limitations happen with networking?

As far as I know, there's no way to do direct socket / network IO in WASM. (IE, you need to use the fetch API.) Likewise, what if a jar uses HTTP, but uses an HTTP library that uses sockets?

apignotti•1mo ago
CheerpJ does out-of-the-box support HTTP/HTTPS requests using fetch when the application uses the standard Java UrlConnection APIs. Of course the requests must be to the same domain (which a common case) or to a domain which is CORS enabled, since CheerpJ is subject to the same limitations as any other JavaScript library.

For more general cases our Tailscale integration is required. For more information see: https://cheerpj.com/docs/guides/Networking

jeffreportmill1•1mo ago
I need to check out the tailscale solution, although CheerpJ also makes it trivial to plug in a proxy server, which I currently do in my app that supports cross origin.
apignotti•1mo ago
I see the post has been killed by moderators. I would like to be contacted to discuss why this is the case. Our content is of obvious interest to the community and we always engage in productive ways.

What is the problem here?

Alifatisk•1mo ago
How has it been killed by mods?
apignotti•1mo ago
Sent straight down to 3rd page from the very first position in home. I assume there must be some internal "send this down to hell" button.
ConfusedDog•1mo ago
Not OP here, but it did disappear from the frontpage. I was still pondering about it and left this tab open... frankly I can't think of a good use case for it besides making legacy java apps available via browser. For gaming, I'd probably still use Unity or other game engines. For app development, I probably not gonna develop on Java 11 again which the support gonna be ending in 2026. I'm impressed by this project though.
apignotti•1mo ago
The legacy use case is indeed very important, but there are many other opportunities that can come from using Java libraries as part of Web apps.

CheerpJ provide "Library mode": an API to natively interact with Java objects from JavaScript: https://cheerpj.com/docs/guides/library-mode

CheerpJ also support Java 17 (currently in preview) and LTS parity is scheduled for next year.

gavinray•1mo ago
Being able to access the entirety of the JVM ecosystem of libraries from JS without glue code is kind of insane.
ConfusedDog•1mo ago
Yes, I'm super impressed by that.
jeffreportmill1•1mo ago
I use CheerpJ to do new development that is spectacularly cross-platform, runs native on all the major platforms and everywhere else in the browser with a single code base. I don't think there are too many alternatives for that and I suspect Java + CheerpJ is one of the best.

https://reportmill.com/SnapCode

ConfusedDog•1mo ago
This is really great! Thanks for sharing.
gavinray•1mo ago
It could be that it got upvoted so rapidly it triggered vote-spam detection.

I don't think mods hand-downrank posts to certain pages.

apignotti•1mo ago
I suspect something else is amiss here, since it is not the first time this happens.

And, in full transparency, we don't engage in any manipulation of upvote count.

We try to play as fair as possible here and in other communities.

Alifatisk•1mo ago
I once wanted to port a little Java application (with no libs except JavaFX) to the web, so I converted it into Dart lang and then compiled it to the web, a bit painful but cool thing.

CheerpJ might be better solution next time.

nopcode•1mo ago
Interesting how this is perceived as impressive (and it is!), but we had runescape running in the browser over 20 years ago already.