Conclusion
So in total, what did we learn?
Firstly, Rust is not a one-size-fits-all language, as they probably can't exist in the first place. Reading the numerous examples provided throughout this article, you can see various trade-offs that Rust is taking in its design. It has various design goals, such as being fast, but beyond that, promoting code correctness is the most important property of the language in my personal opinion.
It comes with a wealth of features to achieve that:
- Types actually signaling their capabilities
- Native unicode support
- A coherent encapsulation system
- Explicit mutability
- Exhaustive matching
- Explicit handling of absent values
- Explicit and mandatory handling of fallible functions
- Extremely low barrier for writing documentation
- Extremely low barrier for testing
- Its unique ownership system for achieving memory safety
- Captured buffer overflows
- Higher abstraction primitives such as iterators
- Coherent multithread safety features enabling some amount of base confidence
Those features are combined with another wealth of ergonomic enhancements, the traits and generics systems in particular. Although some of them make Rust code more verbose in comparison, the combination of all those features makes for an extremely enjoyable software developing experience, so the top spot as "most loved programming language" is well deserved in my opinion.
That about covers all things that I wanted to. I do hope you can take some things away from this article, and maybe it also inspired you to give Rust a try.
If so, you can find everything you need on the official Rust website
.