Re:One Year with Rust: I wrote a full featured application i...
by vitiral on Saturday February 25, 2017 @04:34PM
(#13733969)
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.
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.