int } struct Line { a: Point, b: Point } ! impl Line { fn length(&self) -> uint { let x = pow(self.b.x - self.a.x, 2); let y = pow(self.b.y - self.a.y, 2); sqrt(x + y) } } ...
tasks. • Each Task has its own its own stack, and a heap. • When a Task sends a value that has the Send Trait, it loses ownership of the value sent and can no longer refer to it Channel Communication
http://words.steveklabnik.com/rust-is-surprisingly-expressive • Rust for Rubyists (by Steve Klabnik) • http://www.rustforrubyists.com • "Pointer in the mountains" by Oleh Slobodeniuk • https://www.flickr.com/photos/ualucky/12307340694