Re:Pointers in Rust: a guide
by steveklabnik on Friday October 18, 2013 @10:41AM
(#6571618)
Yup! If you use C++, this wiki page can help: https://github.com/mozilla/rust/wiki/Rust-for-CXX-programmer...
Basically, imagine boost's pointer types being in the language, so that the compiler can reason about them.
I love it. I'm staring to look for reasons to try Rust in a project, luckily they're piling up :)
Re:Pointers in Rust: a guide
by steveklabnik on Friday October 18, 2013 @10:49AM
(#6571659)
Supposedly 1.0 is "around the corner," so maybe you'll find a good reason by then...
But pointers in Rust seem pretty well thought out and more sophisticated than what's possible in C++. I'm particularly excited about the compiler error when a borrowed pointer goes out of scope.