4 ms·
Rust's type system with regards to C and that of many other languages certainly helps to avoid logic bugs as well. A simple difference would be that, for insta
by Blikkentrekker 6y ago
Rust's type system with regards to C and that of many other languages certainly helps to avoid logic bugs as well.
A simple difference would be that, for instance, in Java every object is nullable, whereas in Rust, this is only so when it be declared as such, and the type system requires one to in some capacity first verify of a nullable type that it isn't null, before something meaningful can be done with it.