News for hackers. Stuff that matters.
Re:When Rust Makes Sense, or The State of Typed Languages by lmm on Monday September 28, 2015 @08:04AM (#10289969)
How does borrowing help with concurrency? You can only borrow on the same stack, no?
Re:When Rust Makes Sense, or The State of Typed Languages by osullivj on Monday September 28, 2015 @08:54AM (#10290173)
Re:When Rust Makes Sense, or The State of Typed Languages by steveklabnik on Monday September 28, 2015 @10:20AM (#10290570)
You can borrow something that's on the heap as well. And you can safely share pointers into stacks across threads with the right libraries, too. See https://crates.io/crates/crossbeam