question. In the first chapter where it mentions
"The Rust language makes you a simple promise: if your program passes the compiler’s checks, it is free of undefined behavior. "
I am sure theres a lot more to it, but wouldnt it be possible to introduce undefined behavior checks in c/c++ compilers to reduce the toil?
For example when? Just curious
when it’s too expensive to check array bounds for example
Обсуждают сегодня