logoalt Hacker News

Panzerschrektoday at 6:23 AM3 repliesview on HN

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.


Replies

pjmlptoday at 6:51 AM

It is exactly the same for WASM outside of the browser, and Java has Android as counter part to built in runtime.

show 2 replies
bzzzttoday at 7:25 AM

> 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.

tpmtoday at 9:01 AM

> 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.