Re:Rust 1.1 Stable, the Community Subteam, and RustCamp
by burntsushi on Friday June 26, 2015 @07:00AM
(#9783492)
The feature in question (`if let`) was added pretty recently. The RFC even mentions Swift! ;-) https://github.com/rust-lang/rfcs/blob/master/text/0160-if-l...
Re:Rust 1.1 Stable, the Community Subteam, and RustCamp
by sinistersnare on Friday June 26, 2015 @10:16AM
(#9784485)
Yup, we hard stole if-let from Swift ;). We even made it better!
Rust also has the equivalent of ARC in the form of the Rc and Arc containers, Rc does reference counting without atomics, Arc with atomics (for when you need to do reference counting with thread safety).