2 ms·
I've done some rust tutorials, and I think the language is really interesting, but the reason I've never used it is I don't know what I would use it for, other
by empath75 10y ago
I've done some rust tutorials, and I think the language is really interesting, but the reason I've never used it is I don't know what I would use it for, other than system programming.
I've never had a work related problem where I searched for a way to solve it, and someone had said: "Oh, if you use rust it's easy, because of x,y and z."
I'm sure if I were writing something like sshd from scratch today I'd use rust, but other than system-y sorts of applications like that, I don't know what I'd use it for.
- pornel 10y agoI think that's perfectly fair. Rust isn't the best language for everything. Not everyone writes databases, codecs, filesystems, kernels, protocol implementations, etc.
- stymaar 10y agoI 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...