I think it's interesting that they can do mem::swap safely with inout, although I question how much it usually matters given that it can be wrapped safely in unsafe code (I think their comparison section is a bit uncharitable to Rust :P)
-
-
-
It doesn’t matter even a little bit. In fact, in earlier versions of Rust, swap was a builtin. It was removed since it wasn’t used much.
- 1 more reply
New conversation -
-
-
I distinctly recall a period on HN during Rust's early days where it was in fashion to refer to ownership as "compile-time reference counting with a max refcount of one"
-
Nice, this is how I always introduce it in talks since… 2013?
End of conversation
New conversation -
-
-
Which paper? Could you please give a link to it?
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
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.