Re:Elm vs. PureScript
by azangru on Thursday October 22, 2020 @08:26PM
(#24864885)
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!
[ Parent
| on HN ]
Rust 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.