Re:Rust's 2017 Roadmap
by junk_disposal on Monday February 06, 2017 @04:31PM
(#13584272)
Can you say that traits are like Go interfaces?
Re:Rust's 2017 Roadmap
by steveklabnik on Monday February 06, 2017 @04:37PM
(#13584347)
Yes and no; I've always really enjoyed http://softwareengineering.stackexchange.com/questions/24729... as a comparison between the two.
It's old enough that it's before Rust 1.0, so some of the syntax is a _teeny_ bit wrong (int isn't a type any more, you'd use isize) but the macro picture is the same.
That being said, lifetimes and traits being both complex and unfamiliar features, there's always going to be quite of a learning curve. But one can always reduce the amount of papercuts. If nothing else, one can at least make the documentation better, the ecosystem libraries better and error messages even smarter.