Some fun optimizations that Rust could enable I've learned about in the last few days: - "placement new" to allocate things bigger than the stack - "[N]RVO" so fn calls from A -> B -> C become A -> C - "anti-aliasing" to allow ownership rules to inform optimizations ("use once")
-
-
C and C++ do these optimizations, they just spend a lot of effort proving things don't alias (imperfectly). We have that for free, perfectly
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.