←back to thread

Gemini CLI

(blog.google)
1342 points sync | 1 comments | | HN request time: 0.295s | 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 #
iainmerrick ◴[] No.44377273[source]
Looks like you could make a standalone executable with Bun and/or Deno:

https://bun.sh/docs/bundler/executables

https://docs.deno.com/runtime/reference/cli/compile/

Note, I haven't checked that this actually works, although if it's straightforward Node code without any weird extensions it should work in Bun at least. I'd be curious to see how the exe size compares to Go and Rust!

replies(4): >>44377313 #>>44377346 #>>44377642 #>>44377877 #
ZeroCool2u ◴[] No.44377313[source]
Yeah, this just seems like a pain in the ass that could've been easily avoided.
replies(2): >>44377374 #>>44377485 #
iainmerrick ◴[] No.44377374[source]
From my perspective, I'm totally happy to use pnpm to install and manage this. Even if it were a native tool, NPM might be a decent distribution mechanism (see e.g. esbuild).

Obviously everybody's requirements differ, but Node seems like a pretty reasonable platform for this.

replies(1): >>44381231 #
1. danielbln ◴[] No.44381231[source]
Also throwing Volta (written in Rust, because of course it is) into the ring. It's the uv of the Node world.