News for hackers. Stuff that matters.
Re:The Road to the WASM Component Model 1.0 by wyager on Thursday June 11, 2026 @01:44AM (#48486621)
I'm curious if people have a good story for why WASI will succeed where Java failed
Re:The Road to the WASM Component Model 1.0 by simonw on Thursday June 11, 2026 @01:57AM (#48486710)
My main one is that WASI has benefitted from an additional 31 years of accumulated industry-wide experience compared to when Java was first released.
Re:The Road to the WASM Component Model 1.0 by pjmlp on Thursday June 11, 2026 @04:45AM (#48487882)
So where has the experience gone in the support of C and C++ for WASM?
Re:The Road to the WASM Component Model 1.0 by DonHopkins on Thursday June 11, 2026 @05:11AM (#48488022)
Plus, Larry Ellison doesn't own WASM: "Lawnmower Not Included"!
Re:The Road to the WASM Component Model 1.0 by Panzerschrek on Thursday June 11, 2026 @02:23AM (#48486877)
Programs written in Java require installation of a middleware called Java runtime. It adds extra friction for end-users. And even if one has Java runtime installed, a newer version may be necessary for a recently-published application.

With WASM it may be the same, unless al major OS vendors integrate a WASM runtime so that it doesn't need to be installed separately.

Re:The Road to the WASM Component Model 1.0 by bzzzt on Thursday June 11, 2026 @03:25AM (#48487369)
> Programs written in Java require installation of a middleware called Java runtime. It's possible to link or embed a Java runtime in an existing application.
Re:The Road to the WASM Component Model 1.0 by pjmlp on Thursday June 11, 2026 @02:51AM (#48487119)
It is exactly the same for WASM outside of the browser, and Java has Android as counter part to built in runtime.
Re:The Road to the WASM Component Model 1.0 by auggierose on Thursday June 11, 2026 @03:02AM (#48487198)
Yes, but inside the browser is a freaking big use case.
Re:The Road to the WASM Component Model 1.0 by pjmlp on Thursday June 11, 2026 @03:05AM (#48487216)
Not really, I don't need COM / CORBA on the browser.
Re:The Road to the WASM Component Model 1.0 by auggierose on Saturday June 13, 2026 @12:58AM (#48513405)
Good for you! In other words, you don't write compute heavy applications for the browser?

I never used COM or CORBA, by the way, just too freaking ugly.

Re:The Road to the WASM Component Model 1.0 by afiori on Thursday June 11, 2026 @05:22AM (#48488105)
Java's vm does not start in milliseconds nor has dozen independent implementations in every ecosystem
Re:The Road to the WASM Component Model 1.0 by pjmlp on Thursday June 11, 2026 @07:18AM (#48488838)
Folks tend to think only Oracle does Java, and the only place to get it is from https://www.java.com.

Maybe they should broaden their horizons.

https://en.wikipedia.org/wiki/List_of_Java_virtual_machines

And some like PTC or microEJ are missing from the list.

Re:The Road to the WASM Component Model 1.0 by tpm on Thursday June 11, 2026 @05:01AM (#48487974)
> It adds extra friction for end-users

It doesn't have to, the program can bundle its own jre as its often the case, and then you also don't have to worry about jre compatibility. Downside is then you have many jres installed and of course you can't trust their sandboxing.

Re:The Road to the WASM Component Model 1.0 by GoblinSlayer on Thursday June 11, 2026 @03:26PM (#48495236)
>And even if one has Java runtime installed, a newer version may be necessary for a recently-published application.

WASM doesn't remove version churn, the linked article literally discusses a newer version. Oh and the wonderful web compat story.

Re:The Road to the WASM Component Model 1.0 by fla on Thursday June 11, 2026 @02:28AM (#48486918)
My main one is: distribution & access. If major browsers implement the WASI runtime then using and distributing a WASI app will be way simpler than the Java equivalent ever was.
Re:The Road to the WASM Component Model 1.0 by afiori on Thursday June 11, 2026 @05:20AM (#48488088)
Because Java was doing nothing similar, a better comparison would be .NET CLR that actually tried to be a decent compilation target.

Also security, Java has reflection so you cannot reliably sandbox java libraries