4 ms·
I wonder which one is currently the king (include all arbitrary metrics you can think of)? I guess 1.Go 2.Rust
by Existenceblinks 4y ago
I wonder which one is currently the king (include all arbitrary metrics you can think of)? I guess 1.Go 2.Rust
- RexM 4y agoBash?
- c0balt 4y agoWon't work on windows outside of WSL, at least that has been a reason I've heard for not using Bash for simple stuff. For complex applications bash (or shellscript in general) is also rather ill-suited as it has a lot of footguns and can be hard to maintain.
- cglong 4y agoYou can also use Bash in Cygwin/MSYS environments, like Git for Windows. I've been using Bash for writing cross-platform Git scripts :)
- thesneakin 4y agoFor decades. Bash even runs in DOS.
- Existenceblinks 4y agoI have no idea if Bash has library? It's more like for managing host stuff rather than compute wide range of application.
- mgaunard 4y agoPython is by far the world most popular language, and is used a lot for command-line scripts.
- sph 4y agoIts awful package management makes using Python for CLI applications more painful than it has a right to be. Despite this egregious shortcoming, it's popular for scripts only because it comes with a quite extensive standard library. These days I'd rather suffer through the verbosity of Go or strict memory semantics of Rust (which are no concern in most CLI applications) than write more than a dozen lines of Python. Personally, while I think the compiled world has settled onto a few very good languages, the scripting ecosystem still to this day leaves a lot to be desired.
- theobeers 4y agoAs of last year, Meta recommends internally that CLI tools be implemented in Rust: https://engineering.fb.com/2022/07/27/developer-tools/programming-languages-endorsed-for-server-side-use-at-meta/ https://engineering.fb.com/2022/07/27/developer-tools/progra...