←back to thread

Gemini CLI

(blog.google)
1342 points sync | 3 comments | | HN request time: 0.572s | source
Show context
joelm ◴[] No.44379446[source]
Been using Claude Code (4 Opus) fairly successfully in a large Rust codebase, but sometimes frustrated by it with complex tasks. Tried Gemini CLI today (easy to get working, which was nice) and it was pretty much a failure. It did a notably worse job than Claude at having the Rust code modifications compile successfully.

However, Gemini at one point output what will probably be the highlight of my day:

"I have made a complete mess of the code. I will now revert all changes I have made to the codebase and start over."

What great self-awareness and willingness to scrap the work! :)

replies(8): >>44379714 #>>44380383 #>>44380768 #>>44380866 #>>44381146 #>>44381754 #>>44383245 #>>44386866 #
ZeroCool2u ◴[] No.44379714[source]
Personally my theory is that Gemini benefits from being able to train on Googles massive internal code base and because Rust has been very low on uptake internally at Google, especially since they have some really nice C++ tooling, Gemini is comparatively bad at Rust.
replies(5): >>44380405 #>>44380865 #>>44381697 #>>44382948 #>>44383662 #
1. danielbln ◴[] No.44380865[source]
Interesting, Gemini must be a monster when it comes to Go code then. I gotta try it for that
replies(2): >>44381448 #>>44384886 #
2. Unroasted6154 ◴[] No.44381448[source]
There is way more Java and C++ than Go at Google.
3. jordanbeiber ◴[] No.44384886[source]
As go feels like a straight-jacket compared to many other popular languages, it’s probably very suitable for an LLM in general.

Thinking about it - was this not the idea of go from the start? Nothing fancy to keep non-rocket scientist away from foot-guns, and have everyone produce code that everyone else can understand.

Diving in to a go project you almost always know what to expect, which is a great thing for a business.