this post was submitted on 25 Dec 2025
120 points (91.1% liked)

Programming

24058 readers
496 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
 

cross-posted from: https://sh.itjust.works/post/52190045

Microsoft wants to replace its entire C and C++ codebase, perhaps by 2030

you are viewing a single comment's thread
view the rest of the comments
[–] kibiz0r@midwest.social 47 points 2 days ago (2 children)

Tech bosses have well and truly lost it.

Consider that:

  • Code is primarily to communicate from human-to-human, and only incidentally for computers to execute
  • A codebase that is 30+ years old has an absolute shitload of learnings incorporated into it, much of it very subtle
  • Languages are, in fact, different. So some things cannot be directly translated with exactly the same semantics, so devs will need to fully understand the intent and resolve ambiguities
  • A million lines per month is a lot of text for someone to successfully interpret and translate without losing any subtleties
[–] SpicyLizards@reddthat.com 30 points 2 days ago* (last edited 2 days ago) (2 children)

And 1 million lines to truly review. Reviewers are used to their own heuristics based on common and critical mistakes to find errors. I reckon AI errors won't follow familair patterns, making reviews even more tedious.

[–] reabsorbthelight@lemmy.world 4 points 1 day ago (1 children)

Nobody is truly reviewing that stuff. Would you if you were in that job? Just blame mistakes on AI

[–] SpicyLizards@reddthat.com 3 points 1 day ago

Well, being the job and all, yes. But also set expectations, which there cannot be any based on the nothing job ad. Woudlt touch that with a 10ft pole.

[–] kibiz0r@midwest.social 23 points 2 days ago

Yeah…

Human mistakes tend to 1) look like mistakes, and 2) are surrounded by lots of hints that the author had trouble with that section of code.

AI mistakes tend to 1) look like regular code, and 2) look just as confident and effort-ful as the rest of the code.

[–] FizzyOrange@programming.dev -5 points 1 day ago (1 children)

Code is primarily to communicate from human-to-human, and only incidentally for computers to execute

Uhm what? No. That is a stupid thing to say. It is primarily intended for computers to execute, but in a way that humans can understand.

[–] mr_satan@lemmy.zip 10 points 1 day ago (1 children)

It's definitely for humans first and computers second. Compiled, machine code is for computers, everything else are tools so that humans don't have to deal with machine code. An abstraction made by humans for humans to use.

This is one of the issues I see with LLMs for code: instead of engineering and leveraging machine learning for optimizing specific problems, we're now forcing text prediction engines to write human oriented text that happens to be a programming language.

[–] FizzyOrange@programming.dev -2 points 1 day ago (2 children)

This is stupid. The whole point of programming is to make computers do things. Before computers, "code" was just hand wavy equations. Sum from 1 to n stuff.

Yes it is designed so that humans can understand it, but the point is to make computers do stuff. Very obviously.

[–] mr_satan@lemmy.zip 3 points 1 day ago (1 children)

You wouldn't mind writing machine code then? Ok, I'll give you assembly. It's all that's needed to tell a computer what to do.

[–] FizzyOrange@programming.dev -1 points 1 day ago (1 children)

Of course I wouldn't write in raw machine code, or even assembly. We invented higher level languages that are more powerful and easier for humans to use...

But the purpose is still to make machines so stuff!!! I'm not just writing code so that other humans can marvel at my algorithms.

This is so freaking dumb.

[–] mr_satan@lemmy.zip 2 points 1 day ago (2 children)

easier for humans to use...

And that is my point. The primary purpose for all these abstractions is for humans to use. It's first and foremost designed to be read and understood by humans, to make programming easier for humans.

[–] FizzyOrange@programming.dev 2 points 13 hours ago

I mean yeah I guess that's its primary purpose if you totally ignore the fundamental thing it's meant to be doing.

It's like saying the primary purpose of a seatbelt is to be easy to fasten and unfasten.

[–] crabsoft@gamerstavern.online 3 points 1 day ago

@mr_satan @FizzyOrange

That is a far cry from where we started.

"Code is primarily to communicate from human-to-human, and only incidentally for computers to execute"

[–] kibiz0r@midwest.social 1 points 1 day ago* (last edited 1 day ago) (1 children)

Make computers do stuff for what purpose?

I joke to my family that I just name things for a living. When you take away all the incidental stuff like files and pointers and ports, that’s really all it is. “This sequence of events with these properties is called , and when you ask our system what to do about it, it does this other sequence of events with these properties which we call .”

It’s kinda like those ancient stone tablets that are the first example of writing, and they’re just like “Ramses owes Jeremiah 5 chickens” or whatever. It’s just how we manage abstract concepts moving around our civilization. Yeah there’s math involved, but every endpoint is a human being in one way or another.

[–] FizzyOrange@programming.dev 1 points 1 day ago

Make computers do stuff for what purpose?

For whatever task you're trying to get them to do. Predict the weather, solve an equation, format a document, etc. Computers can do useful things. We program them so that they do those things.

This is the most ELI5 thing I've ever written. If you actually understand programming and you don't realise that it exists to make computers do things then you're surely just being deliberately obtuse.