this post was submitted on 30 Oct 2024
101 points (93.2% liked)

Technology

59091 readers
4565 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each another!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed

Approved Bots


founded 1 year ago
MODERATORS
top 34 comments
sorted by: hot top controversial new old
[–] [email protected] 66 points 6 days ago* (last edited 5 days ago) (3 children)

I really don't believe the headline. Google has thousands of teams of engineers that are writing code for hundreds of different products... There's no way all of them are generating anywhere near 25% of their new code via AI.

Unless they're doing something like generating massive test fixtures or training data sets using AI and classifying them as "code" πŸ€”

[–] [email protected] 26 points 6 days ago (1 children)

I really don’t believe the headline.

The The company had a strong quarter thanks in large part to AI. part is what makes it sound strange to me, sounds like shareholder egostrking.

That said all they need to do is mandate use of AI during development like my company's done and they can boast this kind of bullshit easily.

[–] [email protected] 10 points 6 days ago (1 children)

That said all they need to do is mandate use of AI during development

Wtf does that mean? Like what if you know exactly what you want to do? Do you have to ask GPT to review your code?

[–] [email protected] 6 points 5 days ago

Where i work they had us use AI with the IDEs.

I'd say about 20% of the times what it suggests is actually usable.

That's autocomplete on steroids for you.

[–] [email protected] 5 points 5 days ago (1 children)

I wonder if "code" means pull requests and they have a load of automated ones to update versions of external and internal libraries

[–] [email protected] 4 points 5 days ago

Given the size of lockfiles this would not surprise me but who the hell counts lock files code. Their barely configs :/.

[–] [email protected] 0 points 6 days ago (1 children)

How often does a solution need β€œnew” code and not β€œbasically the same code as a previous issue but with two small details changed”? This is a genuine question, I have only ever coded as a hobby. But 25% of your work being essentially just copy pasted sounds plausible, and that’s sorta all LLMs are doing, right?

[–] [email protected] 6 points 5 days ago* (last edited 5 days ago)

Reusable code is usually pulled out into a library and reused that way, rather than copied and pasted into a new project. You might copy and paste some boilerplate to new projects but it wouldn't be anywhere near 25% of the code.

I'm not sure why someone downvoted you (it wasn't me!) because your comment did seem like a genuine question.

[–] [email protected] 38 points 5 days ago* (last edited 5 days ago)

If they're counting all the auto-completed code that's inserted after pressing Tab on an AI suggestion (such as from Copilot), then I easily believe it.

Tons of places in code only have 1 possible thing that can go on a particular line, given the context, and there is no point in typing it all out manually.

[–] [email protected] 34 points 5 days ago (2 children)

Does this mean "AI was used as a fancy autocomplete"? Because that's my number 1 use case for AI like copilot, and if that's the case, over 25% of my code is written by AI. But let me tell you, it still gets it wrong, repeatedly making the same syntax errors no matter how many times I correct it. It starts to get it right, then later reverts to making the same syntax errors, even making up variable names that violate widely known public APIs.

[–] [email protected] 6 points 5 days ago

Auto complete is about... 60% helpful and increases my productivity with about 5-10% as I need to double check everything it does and half the time it's something ridiculously stoopid

[–] [email protected] 4 points 5 days ago

Agreed. It's really shit for new code, but if I'm writing glue code stuff or repetitive code it saves a lot of time spent on typing.

[–] [email protected] 29 points 6 days ago (1 children)

25% of all new code written at all? Sure, I guess.

25% of all new code that actually gets used in a real product, not just tested in an IDE? Bullshit.

[–] [email protected] 8 points 5 days ago (1 children)

I wonder if they do the monkey writing shakespeare experiment but with code. If you keep letting it write code, something has to come out of it.

[–] [email protected] 8 points 5 days ago

You still need to check the hell out of it because AI is wildly unreliable.

[–] [email protected] 15 points 5 days ago

That would explain the decline in quality of everything from Google. Even Gmail is becoming buggy as hell, even though I haven't seen any new features added. I have used Gmail since it's founding and only in the last year or so did it become extremely buggy.

[–] [email protected] 15 points 5 days ago* (last edited 5 days ago) (1 children)

DAwesome. How much more time off to google software engineers get? I guess it's none.

[–] [email protected] 5 points 5 days ago (1 children)

They just laid off a ton of them instead.

[–] [email protected] 1 points 5 days ago (1 children)
[–] [email protected] 1 points 5 days ago

Coincidence?

[–] [email protected] 18 points 6 days ago

Now they can fill new holes at the google graveyard at twice the speed!

[–] [email protected] 14 points 6 days ago (1 children)
[–] [email protected] 5 points 5 days ago

This company wasn't trying to bullshit financial analysts which was the reason for the google CEO comment.

[–] [email protected] 13 points 6 days ago (1 children)

Not disappointed by The Verge, first paragraph paraphrases the title with no source and the following is just off topic.

[–] [email protected] 4 points 6 days ago (2 children)
[–] [email protected] 12 points 6 days ago (1 children)

Ah, indeed:

Today, more than a quarter of all new code at Google is generated by AI, then reviewed and accepted by engineers. This helps our engineers do more and move faster.

Sounds like bs to me, comes across as marketing talk to promote their AI offerings.

[–] [email protected] 3 points 5 days ago (1 children)

I agree that it's suspicious. This is a HUGE number that would imply a drastic change in their development process and I'm surprised that they don't give much more information, especially since (as you said) it would promote their product.

[–] [email protected] 2 points 5 days ago

They don't give information because there is no information to give. It is just empty rhetoric to bullshit financial analysts. The CEO probably just sent out a company wide email a week before telling developers to do this and they all laughed.

[–] [email protected] 2 points 5 days ago

Thanks ! ❀️

[–] [email protected] 11 points 5 days ago (2 children)

Ah Elon most love all this extra code being written. If course it's super inefficient but look at all those lines sooo much code.

[–] [email protected] 6 points 5 days ago

Are the lines salient though?

[–] [email protected] 3 points 5 days ago

How is Elon going to tell the AI to print its code on hardcopy and then fly to Elon's city to show him your hardcopy code like he told actual Twitter developers to do?

[–] [email protected] 8 points 6 days ago

Makes sense considering how shitty Google products have become.

[–] [email protected] 1 points 5 days ago

NICE TRY, AI !