3 ms·
Rust is much more feature full, allowing you to do things (like mutate data) that you can't do in elm. It also has a lot of new concepts (like lifetimes). All o
by vitiral 10y ago
Rust is much more feature full, allowing you to do things (like mutate data) that you can't do in elm. It also has a lot of new concepts (like lifetimes). All of these things are to allow for ultra high performance applications - it can run as fast or faster than C!
One nice thing about rust is that everything is explicit. If someone can mutate your data, you have to pass "&mut" to them and declare your variable as mutable. This gives you a good balance of both performance and control.
It also has the benefits that make elm great like no exceptions, pattern matching, etc.
So ya, they are different languages but share a lot of the same concepts and benefits.
- ryanolsonx 10y agoThat's awesome. I'll definitely have to give it a go then!