←back to thread

203 points dahlia | 2 comments | | HN request time: 0s | source
Show context
bschwindHN ◴[] No.45156696[source]
Rust with Clap solved this forever ago.

Also - don't write CLI programs in languages that don't compile to native binaries. I don't want to have to drag around your runtime just to execute a command line tool.

replies(9): >>45156782 #>>45156785 #>>45157057 #>>45157203 #>>45158148 #>>45159646 #>>45160365 #>>45161166 #>>45163035 #
rs186 ◴[] No.45157203[source]
Apparently that ship has sailed. Claude Code and Gemini CLI requires Node.js installation, and Gemini README reads as if npm is a tool that everybody knows and has already installed.

https://www.anthropic.com/claude-code

https://github.com/google-gemini/gemini-cli

replies(2): >>45157956 #>>45158783 #
dboon ◴[] No.45158783[source]
Opencode is a great model agnostic alternative which does not require a separate runtime
replies(1): >>45161980 #
1. yunohn ◴[] No.45161980{3}[source]
Opencode uses TS and Golang, it definitely needs a runtime for the TS part. CPU usage hovers around 100% for me on an MBP M3 Max.
replies(1): >>45174456 #
2. dboon ◴[] No.45174456[source]
I meant that it’s bundled with the binary such that you don’t need to make sure some random version of eg Node is available