Saying "I prefer purity to fighting with the borrow checker" doesn't make sense. Pure code is guaranteed to pass the borrow check!
@awesomeintheory My point is just that purity/immutability is an option for you in Rust if you prefer that to dealing with the borrow check.
-
-
@pcwalton And my point is that it's practically infeasible to do this without major performance sacrifices (Rc and indirection everywhere). -
@pcwalton You can do it, sure, but other languages are far better suited to that model of programming than Rust. - 3 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.