Is this because the language lends itself easily to all this tasks? or is the Rust hype and devs using it for different things to learn the language?
Is this because the language lends itself easily to all this tasks? or is the Rust hype and devs using it for different things to learn the language?
The language is fairly high level, and the borrow checker + RAII covers a lot of the ergonomic-gains of garbage collection. It's also appealing in that it moves towards functional, but not too much (beneficial for those who like the idea of functional programming, but can't be assed to pick it up properly -- eg me).
And the absurd hype cycle just keeps it permanently in mind.
There's more than enough high level stuff like the type system and traits which you can go harder into in terms of learning new/better ways to program.
Well, no. There is zero reason to use Rust if you already know modern C++. Rust's only benefit is being newbie-friendly.
* is a lot simpler
* has a package manager
* has type classes (like interfaces with default implementations)
* doesn't have multiple inheritance or inheritance
* much nicer unified error/exception pattern
* amazing compiler error messages
* makes memory corruption and many forms of concurrency errors impossible(outside of ffi and unsafe)
* has tuples+sum types w/destructing