Re:Rust Lifetimes
by ryeguy on Saturday October 31, 2015 @10:30PM
(#10485200)
What makes you think you can't create and return an object? This is how every constructor function in rust works.
[ Parent
| on HN ]
Re:Rust Lifetimes
by shadowmint on Sunday November 01, 2015 @01:09AM
(#10485605)
I believe this is referring to '...and keep a mutable reference to it' ie. A singleton, and many overseer style observe-and-update-on-change data binding patterns.
Basically, shared ownership is pretty central to many C++ patterns, which means they translate poorly into rust.