5 ms·
The other options are C, C++, Go, and maybe Ada or Zig, though I haven't seen many CLI tools written in those two in practice. In practice, it seems like Go, Ru
by trealira 3y ago
The other options are C, C++, Go, and maybe Ada or Zig, though I haven't seen many CLI tools written in those two in practice. In practice, it seems like Go, Rust, and C++ are the preferred languages for newer CLI tools, although I have no data; my conclusion is based on my general perception. Older ones, C and Perl.
- jbaber 3y agoI'm a lot happier with a fad for Rust-written CLI tools than the disappointment of reading install instructions for a simple CLI tool that starts with "First... npm... bower..."
- IshKebab 3y agoI don't think many people would choose to start writing a new CLI in C++. That's just making things difficult for yourself. There are some domains where I might still pick C++ over Rust - especially games and GUIs. The Rust ecosystem for those hasn't matched C++ yet. But not for a CLI app. Especially one like this that doesn't have any difficult dependencies.
- trealira 3y agoYou may be right. There are few new-ish C++ CLI tools that I can think of. I don't know why I said it.
- benkillin 3y agoZig