this post was submitted on 14 Jan 2025
-30 points (25.8% liked)

Programming

17832 readers
60 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 2 years ago
MODERATORS
top 12 comments
sorted by: hot top controversial new old
[–] frankenswine@lemmy.world 45 points 4 days ago
[–] FizzyOrange@programming.dev 18 points 4 days ago

What is a "traditional programming language"? I don't think the popularity of Rust has anything whatsoever to do with AI.

[–] syklemil@discuss.tchncs.de 26 points 4 days ago

This comes off as a weird mash of ideas, and it's not clear what they mean by "traditional programming languages"—the link seems to include Typescript, which is younger than Rust, which is _not_presented as a "traditional" programming language.

The whole thing comes off as … something a Murdoch-owned site would dream up, maybe?

[–] Kissaki@programming.dev 20 points 4 days ago (1 children)

One table of percent increase/decrease written into SEVEN worded paragraphs. That's how you add bloat and reduce overview and comparability.

The percent numbers aren't telling. They don't explain the methodology of how interest has been measured. Which could have added value to just writing out the numbers. The huge numbers of multiple hundred percent indicate to me that they're worthless numbers.

The title is bullshit too. They say interest in C and C# was up, contradicting their claim that traditional programming language interest is declining. Clickbait non-content.


The note on Googles CEO claiming 25% of their internal code is now AI generated was surprising and interesting to me. I don't know if I find it surprising, shocking, or implausible (suspecting the CEO misunderstands or misattributes what is happening; sourcing is not applied code).

[–] MagicShel@lemmy.zip 19 points 4 days ago* (last edited 4 days ago) (1 children)

My guess is 25% of their developers use AI coding assist. Because as a developer who uses AI almost every day, I can promise you only the most pedestrian code can be written by AI. As autocomplete, it saves me some time typing. But actually writing code from scratch, no way.

Yesterday, I asked it to write some particular code for me to do with multi-threading, and it constantly wrote things wrong, like initializing the access of a database client with the user of a request, which would mean every single user would have the access of the first user, not their own.

I reviewed some code earlier this week that did the same thing with the GlobalExceptionHandler that I suspect was also written by AI. These are sort of insidious in that when you write tests to make sure the code works, the tests will pass just fine.

You have to have a skilled developer to identify those issues because the code looks good, and just about any test an individual developer will throw at it will pass. That bug would have gone to production if I hadn't caught it. And that's on top of code that just uses the wrong class or confuses common methods from two completely different classes.

And I couldn't even get a job at Google when they interviewed me, twice. So you can't tell me 25% of their code is AI-generated. It's useful, and a time saver. But it's not capable of generating reliable code on its own. Certainly not yet, and I believe not ever in this form of AI (maybe AGI if it ever comes about).

[–] Kissaki@programming.dev 4 points 4 days ago

That's the kind of thing I suspect as well. Thank you for sharing your insight/experience. It's always interesting and valuable to hear others experiences.

[–] floofloof@lemmy.ca 11 points 4 days ago* (last edited 4 days ago)

The decline of interest in C++ and the rise of Rust may be correlated and may not have much to do with AI tools. C++ is complicated, messy and easy to make trouble for yourself with. Rust promises to be suitable for many of the same purposes, while more modern and more performant than most other high-level alternatives, and protecting you from many memory management bugs. That in itself will be moving some people over to Rust.

[–] python@lemmy.world 9 points 4 days ago

Yeah, people want to learn about the topics that are currently hyped up / in demand from employers 🤷 Just being good in Java/Python/C++ doesn't really cut it on a resume, you gotta have either a weird specialisation or claim skills in a currently hyped up technology.

[–] UnfortunateShort@lemmy.world 7 points 4 days ago

Lmao yeah, please don't use Python for ML, using the most famous language for ML for ML is kinda cringe

[–] spacecadet@lemm.ee 5 points 4 days ago

looks at job board

WTF this article talking about

@cm0002 The headline doesn't really reflect what is written in the article to me - why is the rise of AI the cause of people adopting Rust?

[–] insomniac_lemon@lemmy.cafe 2 points 4 days ago

I am only interested in a niche compiled-to-<C/C++/JS> language due to the capability/speed while keeping readability. With that in mind, I wonder if Python's JIT and no-GIL update will slow or reverse the stated trend (assuming it's true at all).

Though it's still an issue with bindings for something I can already use with my preferred lang, so is one reason why I haven't tried it.