3 ms·
I'm really confused by what Rust has to offer to frontend. A systems language, sure. Memory safety when no garbage collection, fine. But we do have a garbage co
by azangru 6y ago
I'm really confused by what Rust has to offer to frontend. A systems language, sure. Memory safety when no garbage collection, fine. But we do have a garbage collector in the browser. And are expecting to get it for webassembly too. And when I compare Rust code to typescript, I want to howl in agony and ask, why would we inflict on ourselves this punishment. At least I can see the elegance and the beauty of Purescript, although I can't write anything useful in it. But Rust is just so horrendous for frontend, where the existing languages are so much nicer!
- k__ 6y agoI think Rust's type-system is much nicer than TypeScript's, but you're right, Rust is probably too different.
- smt88 6y agoRust can be great for environments with resource constraints, and we should think of browsers as being resource constrained. I don't think Rust has the right trade-offs to make it a good choice today, but I expect that to change.