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

Haven't checked yet, but I am sure it's written in Rust



How could you tell?


[flagged]


What would be your choice if you would need to write high performing CLI tool?


I think it's more the hand-in-handedness that seems to exist between "rewrite an existing, mature tool" and doing it in Rust. Half the time it's hard for me to know which caused which — the need for the tool, or the desire to rewrite something in Rust.


yeah, you are right


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: