Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Compiling Rust to WASI (benw.is)
12 points by ingve on March 20, 2024 | hide | past | favorite | 5 comments


>There idea that we could write programs in our own favorite language, and compile it to a universal format that can executed on almost any platform is truly revolutionary.

Where do I begin with this...

I Think Rust+WASI is cool, but this idea has more years than I do.


Seems to me Rust + WASM is just a recreation of the Java Applet outside of Oracles control.

I guess they forgot Java is Open-Source and anyone can make a Applet plugin if they wish.

The main reason that is not happening is that the browser is dead.


I think the main difference between WASM and JVM is that WASM was designed as a generic compilation target for all kinds of existing languages like C or Swift, while JVM is designed to specifically run Java bytecode with the features that Java-based languages support.


The core use cases of WASI have nothing to do with browsers. Yes, though: Java itself--without applets--also solves mostly the same problem.


I prefer WASM to the JVM




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: