Hacker News new | past | comments | ask | show | jobs | submit login

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.



I'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..."


I 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.


You may be right. There are few new-ish C++ CLI tools that I can think of. I don't know why I said it.


Zig




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: