3 ms·
I can relate to this. I'm a web developer and Rust (mostly the ecosystem) is not ready for web dev (the future look bright though, tools like Diesel[1] or Rocke
by stymaar 10y ago
I can relate to this. I'm a web developer and Rust (mostly the ecosystem) is not ready for web dev (the future look bright though, tools like Diesel[1] or Rocket[2] looks incredibly promising).
I recently found a place where Rust really shine : CLI tools. Rust multi-platform story is great, and the clap[3] crate makes it really straightforward to create helpful CLI tools. The blog post «Using Rust for scripting»[4] is really insightful in this regard.
Now I use Rust any time I would have use Ruby to automate stuff with a little script. It's obviously more verbose, but the type system and error-handling story helps a lot.
[1]: http://diesel.rs http://diesel.rs
[2]: https://rocket.rs https://rocket.rs
[3]: https://clap.rs https://clap.rs
[4]: http://www.chriskrycho.com/2016/using-rust-for-scripting.html http://www.chriskrycho.com/2016/using-rust-for-scripting.htm...