← Back to context

Comment by alpaca128

3 years ago

I'd compare Rust more to C++ than C. It's a bit higher in terms of abstraction, though still relatively transparent about what happens. It avoids doing anything implicitly, so when a value is cast to another type or memory is allocated it's visible in the code.

It's not a fun language if you want to experiment or move quickly as the type checker might act as a brick wall in those cases. But as it prevents a whole class of bugs that are related to the majority of security exploits I think it's a pretty good choice if memory safety and performance are the main priority.