r/cpp • u/seeking-health • 21d ago
Is there any point in improving the/any language at this point ?
What's the point of spending years debating new syntax, language features, and abstractions if the majority of future C++ code might not be written by humans anyway?
0
Upvotes
12
u/Krowken 21d ago
You think AI agents don’t make use of features, syntax and abstractions?
51
u/Tidemor 21d ago
Is there any point in doing anything if we're all going to die at some point?
19
u/specialpatrol 21d ago
I would think even LLMs benefit from better language features.
18
u/STL MSVC STL Dev 20d ago
Why not have it write assembly? Why not machine code directly?
6
u/freaxje 21d ago
The point is human review then, I guess.
9
u/snerp 21d ago
Well there’s still plenty of us not using the slop machine
3
u/smdowney WG21, Text/Unicode SG, optional<T&> 20d ago
Because better languages and the constraints they have allow better programs, even if not written by a human being.
No one is vibe coding machine code.
3
u/guybrush-77 20d ago
I very much disagree. Even if LLMs are writing 100% of your code, you still have to be able to review and understand that code (unless you are producing vibe-coded AI slop). And, obviously, having better syntax and abstractions helps. But also, LLMs benefit from many of those same things that we benefit from. If an LLM had to invent every std feature (for example) for your project, it can probably do it, but both the quantity and the quality of the output will suffer.
2
u/dpoggio 21d ago
Any business description, manual or hard logic written by LLMs should be readable by humans. Programming languages exist to be readable by humans. LLMs should write business logic in programs that humans can read and audit. I absolutely don’t encourage the stupidity of “languages should have more features”, on the contrary, “languages should be easy”. If LLMs write complex programs in complex languages, the average human ability to audit decrease.
3
u/13steinj 20d ago edited 20d ago
AI doomers go away please! Too many have already infested other programming / software subreddits.
Even frontier models have not gotten good scores on C++ tests that I've written. I've even been able to get Opus 5 and GPT 5.3 to invent new syntax that is not real. Not as bad as GPT 4-level, but still. C++ is notoriously difficult to parse.
These things have no true "reasoning." The philosophy of LLMs shoves "intelligence" into a data format as inefficient as human language and then produces the most likely next word after it. I forget which proof it was, but the frontier labs wrote dozen if not hundred page proofs. Afterwards, some mathematicians got it down to 6 pages. This is to say, taste, good judgement, and most forms of truly new material (well, arguably nothing is "new" but easier to say that). They merelt provide easy ability to throw shit at the wall and see what sticks.
This was when I started, and the insane syntax invention convinced me we are decades away from any of the kind of doom being described, the progress rate can change but the curve is sigmoidal and we were far, far behind the inflection point. It remains to be seen but I honestly believe we have actually hit the inflection point, or are near it, with current model architectures, because they have leaned very heavily into RLHF-frying the absolute hell out of the models now.
To put it this way: if I was in Dario or Altman's shoes, they have the wrong business model, if they believe the shit they are selling. Why sell a tool so others can make code? Have that tool create and sell all other software products instead, and beat them out of the market. It's a really weird "goose that laid the golden egg" analogy. If you own the goose, you sell the eggs. But instead you're charging everyone rent to use the goose, and (based on every leaked financial report) losing money doing so.
E: Even with
frontier models got a basic aspect of UI design wrong not once, but twice.
1
u/RogerV 20d ago
am still interacting and viewing AI generated code, so as long as that is part of the equation there's still some benefit having programming languages oriented to human cognition
1
u/Hopeful-Term5891 17d ago
i guess it's for human review, imagine letting agents write huge amounts of code, C++ syntax can get pretty weird, but at least the code would still be readable to a reviewer.