why typescript and not go #2007
Replies: 5 comments 5 replies
-
|
We wanted to...
Honestly, a CLI in Rust or Go would be fantastic. Who knows? Maybe we'll do it all over again. 😉 |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
|
I don't think it's revealing anything to say that we did seriously consider using Go and even did some actual prototyping of it. The decision was ultimately made for complex reasons including the Gemini Model just being better at typescript (since there are a lot more examples in it's training data). |
Beta Was this translation helpful? Give feedback.
-
|
I've put a great deal of effort into trying to convert gemini-cli into a standalone executable binary, but I haven't succeeded yet. The reason is that I need to use gemini-cli in an environment where Node.js is not installed and installing it is impractical. |
Beta Was this translation helpful? Give feedback.
-
|
The key is to have an static binary that doesn't require any dependencies to execute on a target system. Go has very good tooling for cross compilation and some nice TUI libraries my favorite being BubbleTea. I am sure there would not be any problems with getting contributors or getting LLMs to work with Golang. Happy to dig deeper into any potential issues that you see. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
not much else to ask really
Beta Was this translation helpful? Give feedback.
All reactions