3 ms·
I'm obviously about as far from the modal Rust user as one can get, but at this point the language has completely melted away into the background. I'm often tem
by pcwalton 9y ago
I'm obviously about as far from the modal Rust user as one can get, but at this point the language has completely melted away into the background. I'm often tempted to write smallish scripts in dynamic languages, but even for those I frequently choose Rust just for the Cargo ecosystem. In particular I never see a reason to use C++ unless I'm contributing to a codebase that's written in it.
It takes different programmers different amounts of time to get to this point, and I certainly believe we can do better to make it easy to get up to speed, especially when async I/O is involved. But it does come eventually.
- anderspitman 9y agoThis is heartening.
- burntsushi 9y agoSame here. It feels good. I've been writing lots of little utility programs in Rust lately and it has been great.
- sanxiyn 9y agoSame here. But then I have 5 years of experience writing Rust. Wow, that feels like a totally ridiculous thing to write, but it's true. These days I work at a startup where we are writing everything in Rust and then write C binding and Python binding to Rust code in order to connect to the outside world.
- danieldk 9y agoSame here. I used to use Python for small one-off scripts, but I now primarily use Rust. I can write Rust nearly as fast as Python and Go now, plus there are a lot of useful crates for the type of command-line utilities that I write. For me the benefit is that a Rust utility usually works when it compiles, plus I can easily deploy the binaries on other machines (without going through another pyenv/pip dance). To give an example: I work a lot with dependency treebanks on CoNLL-X format. Over my past to years with Rust, I have accumulated a bunch of utilities for doing things like paritioning data, merging treebanks, shuffling treebanks, extracting forms/lemmas, checking for cycling graphs, etc. I use them nearly daily: https://github.com/danieldk/conllx-utils/tree/master/src/bin https://github.com/danieldk/conllx-utils/tree/master/src/bin