What Rust Can Do That Other Languages Can't, In Six Short Lines http://robert.ocallahan.org/2017/02/what-rust-can-do-that-other-languages.html …
A std::shared_pointer doesn't necessarily have runtime overhead. The optimizer eliminating that overhead is a big part of Swift.
-
-
Sure, but magic optimizers make performance fragile. Change something and performance mysteriously falls off a cliff.
-
Plus to get rid of all overhead here the optimizer has to not only remove addref/release but also perform object inlining. Hard!
End of conversation
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.