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")
-
-
My understanding is that the family of "aliasing" optimizations currently exist in Fortran, but not in C, and are largely responsible why math things are fast in Fortran. Rust's ownership model would allow us to enable the same benefits. Folks seemed excited, and I'm excited too
Show this threadThanks. 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.