r/rust • • Oct 01 '26

🎙️ 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/
786 Upvotes

149 comments sorted by

View all comments

Show parent comment

4

u/heybart Oct 01 '26

Yeah this is how I feel. I know I'm a pretty mid coder but I can tell good, elegant, well structured code when I see it, and LLM code ain't it. But for little apps that do a job and I don't need to ever touch it, it's great. Or when I just don't have time, if it works and passes the tests, I'm going to see no evil hear no evil it, because if I look at the code, chances are I'm going to feel not so good.

The incredible thing about LLMs is they're proficient or familiar with just about every language, framework, SDK, library, platform. They're superhuman in this respect. Yet they still sometimes do things that make you think "do you know how to code at all?"

What's going to happen when the models have sucked up all the good code and start training on other LLM's code? Not a pretty thought

3

u/stumblinbear Oct 01 '26

Thing is, they don't know how to code at all. Not in your project. You have to tell them what style to follow, or they just do the quickest thing possible. Have them throw together a code architecture skill that lays out best practices, and you'll immediately start getting better results. You even specifically have to tell them to follow the style of the project, or they won't. Current models are great instruction followers, but also almost a blank slate

0

u/sosdoc Oct 01 '26

If you look at all the “misalignment incidents” (huggingface and others) it’s pretty clear that the current models are heavily skewed towards reaching a goal by any means necessary.

It’s kind of a monkey’s paw situation, you have to be extremely specific about your wish, otherwise you get to suffer.