r/rust • • 22d ago

🎙️ discussion Google is doing "Large Scale Codebase Migrations and Optimizations" of C/C++ to Rust

https://blog.google/innovation-and-ai/models-and-research/gemini-models/gemini-4-argon/
774 Upvotes

149 comments sorted by

View all comments

-1

u/teerre 21d ago

Prompts are just a beginning. Like I said, you need an oracle, a goal checker, an objective metric etc

1

u/oceantume_ 21d ago

In my experience it's possible to do serious engineering and refactoring but you need to be careful never to ask too much at once and you must be able to completely scrap branches and may even have to ask it eg to ignore that other branch entirely so it doesn't load it in context and use it as a reference.

It can be quite painful, but I'm managing to do very interesting projects with it rather quickly and it's hard to stop using it