Live data from Hacker News

Google CEO says more than a quarter of the company's new code is created by AI

businessinsider.com

351–360 of 1001 posts

Re: Google CEO says more than a quarter of the company's new code is created by AI

#351

Sometimes I wonder why we would want LLMs spit out human readable code. Wouldn’t be a better future where LLMs generate highly efficient machine code and eventually we read the “source map” for debugging? Wasn’t source code just for humans?

Because you can't trust what the LLM generates, so you have to read it. Of course the question then is whether you can trust your developer or not.

Re: Google CEO says more than a quarter of the company's new code is created by AI

#352
post #338

Earlier quoted context omitted.

In Java, 25% of the code is import statements and curly braces

You generally don’t write those by hand though. I’m pretty sure around 50% of the code I write is already auto-complete, without any AI.

Exactly, you write them with AI

Re: Google CEO says more than a quarter of the company's new code is created by AI

#353

To my experience, AIs can generate perfectly good code relatively easy things, the kind you might as well copy&paste from stackoverflow, and they'll very confidently generate subtly wrong code for anything that's non-trivial for an experienced programmer to write. How do people deal with this? I simply don't understand the value proposition. Does Google now have 25% subtly wrong code? Or do they have 25% trivial code…

> the kind you might as well copy&paste from stackoverflow This bothers me. I completely understand the conversational aspect - "what approach might work for this?", "how could we reduce the crud in this function?" - it worked a lot for me last year when I tried learning C. But the vast majority of AI use that I see is...not that. It's just glorified, very expensive search. We are willing to burn far, far more fuel t…

What I can't wrap my head around is that making good, efficient software doesn't (by and large) take significantly longer than making bloated, inefficient enterprise spaghetti. The problem is finding people to do it with who care enough to think rigorously about what they're going to do before they start doing it. There's this bizarre misconception popular among bigtech managers that there's some tunable tradeoff between quality and development speed. But it doesn't actually work that way at all. I can't even count anymore how many times I've had to explain how taking this or that locally optimal shortcut will make it take longer overall to complete the project.

In other words, it's a skill issue. LLMs can only make this worse. Hiring unskilled programmers and giving them a machine for generating garbage isn't the way. Instead, train them, and reject low quality work.

Re: Google CEO says more than a quarter of the company's new code is created by AI

#354

People talk about how AI is bad at generating non-trivial code, but why are people using it to generate non-trivial code? 25% of coding is just the most basic boilerplate. I think of AI not as a thinking machine but as a 1000 WPM boilerplate typer. If it is halucinating, you're trying to make it do stuff that is too complex.

But for this boiletplate creating a few snippets in your code generally works better. Especially if things change you dont have to retrain your model.

Thats my main problem: for trivial things it works but isnt much better than conventional tools, for hard things it just produces incorrect code such that writing it from scratch barely makes a difference

Re: Google CEO says more than a quarter of the company's new code is created by AI

#355

To my experience, AIs can generate perfectly good code relatively easy things, the kind you might as well copy&paste from stackoverflow, and they'll very confidently generate subtly wrong code for anything that's non-trivial for an experienced programmer to write. How do people deal with this? I simply don't understand the value proposition. Does Google now have 25% subtly wrong code? Or do they have 25% trivial code…

I decided to go into programming instead of becoming an Engineer because most Engineering jobs seemed systematic and boring. (Software Engineers weren't really a thing at the time.)

For most of my career, Software Engineering was a misnomer. The field was too young, and the tools used changed too quickly, for an appreciable amount of the work to be systematic and boring enough to consider it an Engineering discipline.

I think we're now at the point where Software Engineering is... actually Engineering. Particularly in the case of large established companies that take software seriously, like Google (as opposed to e.g. a bank).

Call it "trivial" and "boring" all you want, but at some point a road is just a road, and a train track is just a train track, and if it's not "trivial and boring" then you've probably fucked up pretty badly.

Re: Google CEO says more than a quarter of the company's new code is created by AI

#357

Earlier quoted context omitted.

That's basically a non-answer. Measuring "productivity" is a well known hard problem, and managers haven't really figured it out...

It's not a non-answer. Good managers need to figure out what metrics make sense for the team they are managing, and that will change depending on the company and team. It might be new features, bug fixes, new product launch milestones, customer satisfaction, ad revenue, or any of a hundred other things.

So basically you have nothing useful to say?

Re: Google CEO says more than a quarter of the company's new code is created by AI

#358

Hi, I lead the teams responsible for our internal developer tools, including AI features. We work very closely with Google DeepMind to adapt Gemini models for Google-scale coding and other Software Engineering usecases. Google has a unique, massive monorepo which poses a lot of fun challenges when it comes to deploying AI capabilities at scale. 1. We take a lot of care to make sure the AI recommendations are safe and…

[deleted]

Re: Google CEO says more than a quarter of the company's new code is created by AI

#359
post #335

Earlier quoted context omitted.

> the kind you might as well copy&paste from stackoverflow This bothers me. I completely understand the conversational aspect - "what approach might work for this?", "how could we reduce the crud in this function?" - it worked a lot for me last year when I tried learning C. But the vast majority of AI use that I see is...not that. It's just glorified, very expensive search. We are willing to burn far, far more fuel t…

A human can't be trusted to not make memory safety bugs. At the same time we can trust AI with logic bugs.

Since LLMs are just based on human output, we should trust LLMs (at best) as much as we trust the average human coder. And in reality we should probably trust them less.
Post reply on HN