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.
[ Parent
| on HN ]
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?