←back to thread

Gemini CLI

(blog.google)
1336 points sync | 5 comments | | HN request time: 0.676s | source
Show context
ZeroCool2u ◴[] No.44377226[source]
Ugh, I really wish this had been written in Go or Rust. Just something that produces a single binary executable and doesn't require you to install a runtime like Node.
replies(12): >>44377273 #>>44377286 #>>44377337 #>>44377341 #>>44377366 #>>44377649 #>>44377914 #>>44378962 #>>44380417 #>>44382222 #>>44384234 #>>44384426 #
qsort ◴[] No.44377341[source]
Projects like this have to update frequently, having a mechanism like npm or pip or whatever to automatically handle that is probably easier. It's not like the program is doing heavy lifting anyway, unless you're committing outright programming felonies there shouldn't be any issues on modern hardware.

It's the only argument I can think of, something like Go would be goated for this use case in principle.

replies(6): >>44377541 #>>44377941 #>>44378149 #>>44378557 #>>44382533 #>>44382571 #
1. koakuma-chan ◴[] No.44377941[source]
If you use Node.js your program is automatically too slow for a CLI, no matter what it actually does.
replies(2): >>44382334 #>>44384751 #
2. frollogaston ◴[] No.44382334[source]
So are you saying the Gemini CLI is too slow, and Rust would remedy that?
replies(1): >>44383509 #
3. koakuma-chan ◴[] No.44383509[source]
Yes
4. wiseowise ◴[] No.44384751[source]
If you even sneeze into performance discussion without providing benchmarks first – you’re a tool.
replies(1): >>44386928 #
5. koakuma-chan ◴[] No.44386928[source]
You don't have to believe me if you don't want to. But I strongly advise everyone who still uses prettier to try a formatter written in Rust, for example dprint. It's a world of difference.