News for hackers. Stuff that matters.
Re:Comparing Rust and JavaScript by stared on Friday July 15, 2022 @11:43AM (#32109298)
From the user-experience perspective, it matters that it is Rust. Unless you directly write WASM code, which is rarely (ever) the case.

Rust is a language that compiles to WASM. Sure, there are other options to compile to WASM, but they differ by interface (programming language, library, tooling) and (likely to a lesser degree) - performance.

Re:Comparing Rust and JavaScript by teucris on Friday July 15, 2022 @12:02PM (#32109512)
Given the title I had expected this to be a comparison between the js and rust in terms of development, not performance. I learned nothing new about rust by visiting this page. All I learned was that compiled WASM is faster than js.
Re:Comparing Rust and JavaScript by marcosdumay on Friday July 15, 2022 @02:18PM (#32111215)
> All I learned was that compiled WASM is faster than js.

You learned that Rust compiled into WASM is faster than JS. That won't be the case for every language. (We had an example yesterday on the front-page where it wasn't. Ironically, its title implied that it was a generic comparison with WASM.)

Re:Comparing Rust and JavaScript by IncRnd on Friday July 15, 2022 @02:55PM (#32111585)
> From the user-experience perspective, it matters that it is Rust.

From the user-experience perspective, none of the page loads without javascript, so it is all javascript from a customer's perspective.