minus-squareJoey@programming.devtoProgramming@programming.dev•DARPA suggests turning old C code automatically into Rust – using AI, of courselinkfedilinkarrow-up7·3 months 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·1 year ago#define EVER (;;) linkfedilink
They’d probably have to make sure it doesn’t use the
unsafe
keyword to guarantee this.