Rust is Eating JavaScript
Rust is Eating JavaScript

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 Eating JavaScript
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?
You're viewing a single thread.
Can browsers run rust in the front end instead of javascript, or is it limited to build time and backend stuff?
Sort of, browsers can run rust code through webassembly. But i dont think this is a full replacement for JavaScript as of yet.
Yeah, you need to have some JS to manipulate graphics, so the Rust web frameworks have a JS shim to do that and communicate with the WebAssembly Rust code as necessary. It works surprisingly well tho.
Wasm bindgen is an absolute nightmare of auto-generated function names. From a purely performance/functionality perspective it works but it's hella ugly. I hope some alternative arrives at some point.