←back to thread

Gemini CLI

(blog.google)
1339 points sync | 3 comments | | HN request time: 1.768s | 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 #
masklinn ◴[] No.44378149[source]
> having a mechanism like npm or pip or whatever to automatically handle that is probably easier

Re-running `cargo install <crate>` will do that. Or install `cargo-update`, then you can bulk update everything.

And it works hella better than using pip in a global python install (you really want pipx/uvx if you're installing python utilities globally).

IIRC you can install Go stuff with `go install`, dunno if you can update via that tho.

replies(3): >>44378315 #>>44378861 #>>44385984 #
StochasticLi ◴[] No.44378315[source]
This whole thread is a great example of the developer vs. user convenience trade-off.

A single, pre-compiled binary is convenient for the user's first install only.

replies(4): >>44378569 #>>44378838 #>>44378969 #>>44385939 #
JimDabell ◴[] No.44378969[source]
I don’t think that’s true. For instance, uv is a single, pre-compiled binary, and I can just run `uv self update` to update it to the latest version.
replies(1): >>44384730 #
1. wiseowise ◴[] No.44384730[source]
I literally wouldn’t use uv if it weren’t available via pip.

Reasoning: it’s a Python tool, therefore it shouldn’t require anything (any 3rd party package manager) beyond Python.

replies(1): >>44385275 #
2. JimDabell ◴[] No.44385275[source]
It’s a standalone binary. It doesn’t require anything at all. It’s literally just one file you can put anywhere you like. It doesn’t need a third-party package manager.
replies(1): >>44385642 #
3. wiseowise ◴[] No.44385642[source]
Sure it does. When you download it manually you become that package manager.