4 ms·
Was your experience with Rust comparable to your Elm experience? I've been coding a lot in Elm lately and LOVE the reliability of the everything. Once you mak
by ryanolsonx 10y ago
Was your experience with Rust comparable to your Elm experience? I've been coding a lot in Elm lately and LOVE the reliability of the everything. Once you make it past the compiler, you know that it's not going to crash and that you'd managed all possible cases.
(I bring this up since using Elm was mentioned in the article)
- vitiral 10y agoRust 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!