News for hackers. Stuff that matters.
Re:Rust is more than safety by olejorgenb on Wednesday December 28, 2016 @05:24PM (#13274215)
According to http://stackoverflow.com/a/13836329/1517969 modern c++ exceptions are free when no throw occurs.
Re:Rust is more than safety by mmstick on Wednesday December 28, 2016 @05:29PM (#13274240)
In addition, Rust Results/Options are free when no throw occurs. So the argument is moot.
Re:Rust is more than safety by softc on Wednesday December 28, 2016 @05:38PM (#13274285)
No they aren't, you must issue a compare instruction to verify the result was successful.
Re:Rust is more than safety by oconnor663 on Saturday January 07, 2017 @05:37PM (#13347077)
Do you know whether branch prediction makes them effectively free, in places where the result is almost always successful?