News for hackers. Stuff that matters.
Re:Rust is surprisingly expressive by MichaelSalib on Saturday December 28, 2013 @04:57PM (#6976816)
If you can get exactly the same benefit, then why pay the cost of overriding behavior of the integer type and dealing with hidden black magic that makes your program harder to reason about?
Re:Rust is surprisingly expressive by steveklabnik on Saturday December 28, 2013 @05:06PM (#6976849)
I'm not sure which example you're talking about, but there's no additional cost in the Rust example. And it's not hidden; it's in the trait definition, which is scoped.