News for hackers. Stuff that matters.
Re:Compiling Rust to WASI by Rucadi on Wednesday March 20, 2024 @08:10AM (#39765365)
>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.

Re:Compiling Rust to WASI by spintin on Wednesday March 20, 2024 @07:53AM (#39765213)
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.

Re:Compiling Rust to WASI by saurik on Wednesday March 20, 2024 @07:57AM (#39765255)
The core use cases of WASI have nothing to do with browsers. Yes, though: Java itself--without applets--also solves mostly the same problem.
Re:Compiling Rust to WASI by 01HNNWZ0MV43FF on Wednesday March 20, 2024 @09:44AM (#39766393)
I prefer WASM to the JVM
Re:Compiling Rust to WASI by kennu on Wednesday March 20, 2024 @10:30PM (#39774355)
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.