4 ms·
If your project can be written in Python or Go, then yes, do that. I don't think Rust is trying to compete with Python or Go. However, if the project needs a l
by phicoh 5y ago
If your project can be written in Python or Go, then yes, do that. I don't think Rust is trying to compete with Python or Go.
However, if the project needs a low-level language. Then skip C and C++ and use Rust.
Almost from the start, high level languages have been about safety. In assembly, memory is untyped. That leads to way too many bugs. So languages evolved to get more eleborate type systems. Compare for example K&R C with lacked function prototypes with current C that does have them. That saved huge numbers of bugs.
Traditionally, garbage collectors had to be used to maintain memory safety. However, that conflicts with many of the uses of C. So Rust had to come up with something that is both safe and compatible with C.