minus-squareJoey@programming.devtoProgramming@programming.dev•DARPA suggests turning old C code automatically into Rust – using AI, of courselinkfedilinkarrow-up7·2 years ago So a translation of legacy code into Rust would either attain memory safety, or wouldn’t compile. They’d probably have to make sure it doesn’t use the unsafe keyword to guarantee this. linkfedilink
minus-squareJoey@programming.devtoProgramming@programming.dev•What will happen if we put a semi-colon after a for loop in C++?linkfedilinkarrow-up7·3 years ago#define EVER (;;) linkfedilink
They’d probably have to make sure it doesn’t use the
unsafekeyword to guarantee this.