Somebody that knows zilch about Rust with a question: I like to write CLI tools with Go, the built-in libs and the simpleness of the language make it really easy for writing good tools quickly. What advantages does Rust have over Go that one would use it for this purpose?
PrototypeNM1|6 years ago
If your code is stateful the typestate pattern is particularly easy to write in Rust - http://cliffle.com/blog/rust-typestate/
archie2|6 years ago
iudqnolq|6 years ago
https://web.archive.org/web/20190401042439/http://blog.mbrt....
Here's what the main function looks like: