Why is Rust being used to replace parts of the JavaScript web ecosystem like minification (Terser), transpilation (Babel), formatting (Prettier), bundling (webpack), linting (ESLint), and more?
Rust is the best language for writing WASM in, so you can write Rust and run it in the browser without transpiling to JS.
Rust isn’t just about speed or GC pauses. Its type system is amazing and allows you to encode things that you cannot in any other mainstream language.
It’s so incredibly well designed, it fewla like that clip from Ricky and Morty where Morty feels what standing on a truly even plane feels like then has a panic attack when he leaves. Rust rethought everything from scratch, and isn’t just some new syntax or fancy compiler tricks. No null, no exceptions, no inheritance, new typing capabilities, etc.
Go made some pretty poor design choices, and now even Google is choosing Rust for a lot of stuff instead.
Go made some pretty poor design choices, and now even Google is choosing Rust for a lot of stuff instead.