3 ms·
How come so many people is writing cli programs in Go? What happened to C?
by Gualdrapo 2y ago
How come so many people is writing cli programs in Go? What happened to C?
- swah 2y agoNowadays I guess interactive ones are easier on Python or Go, and super fast ones (ripgrep, fzf) in Rust or Zig.
- adhamsalama 2y agofzf is written in Go, isn't it?
- fmbb 2y agoYes, fzf is a Go program.
- Philip-J-Fry 2y agoIt's pretty funny that your preconceptions led you to believe fzf was written in Rust or Zig.
- mattlondon 2y agoGolang was conceived to address the rough edges people found using C, so I guess working as intended?
- danielvaughn 2y agoCharm provides an excellent suite of tools for building TUIs; bubble tea is only one of them. It’s gotten me interested in building CLI programs, as an anecdote.
- qudat 2y agoAt least for SSH apps that run TUI programs the answer is obvious: golang implements the SSH protocol as a library. It is probably one of the greatest features of the stdlib. We're building a lot of SSH apps over at https://pico.sh https://pico.sh
- sim7c00 2y agocurses is well... curses. i try rust now. might also try go, then when those fail go back to C :D