News for hackers. Stuff that matters.
Re:Rust and the Future of Systems Programming [video] by pcwalton on Wednesday November 16, 2016 @09:08PM (#12973599)
> Well, like I said in the other comment, you guys could fix that by unbundling the static checker in the Rust compiler and making it applicable to (a subset of) C++ code as well :)

No, we can't do that. It is incompatible with C++.

> Rather than disallow code that can't be verified to be (memory) safe, the compiler could instead inject runtime checks that would be optimized out using the same analysis that the static checker uses.

That is not possible. It would require massive bookkeeping, much like your library does. That would eliminate most of the benefits of Rust.

There are no comments on this comment yet.