Comment on What are the recommended scripting languages for complex shell scripts beyond bash?

<- View Parent
gopher_protocol@programming.dev ⁨1⁩ ⁨year⁩ ago

Rust is heavily based on Ruby’s design

I would not say “heavily based”. Literally only the closure/lambda syntax, which is cosmetic. Rust is mainly inspired by ML-family languages and C++.

I think Ruby is a reasonable choice for small scripts which someone might otherwise use Python for. But Rust is very well suited to more complicated or long-lasting command-line tools, especially if performance is at all a concern. Clap alone is super nice, but there are a lot of awesome libraries for making rich CLI tools easily.

And like…a hundred more I could mention. Idk, for anything that’s not completely trivial, which will be used and maintained by humans and not thrown away, Rust is really nice.

source
Sort:hotnewtop