upvote
I vehemently disagree with the assertion that private codebases are a narrow case.

> Could LLMs develop good coding practices for C++23 just by looking at the STL/Compiler sources if it was trained with 90s C++ ?

I don't know about "good" (subjective measure), but I intuit an LLM trained on C++98 could get a C++23 codebase to compile (an objective metric an LLM agent can measure) based on documentation, compiler error messages, and looking at sources.

I bet there are lots of natural experiments on this, e.g. running an open-weight model against a language version released after model was released; I bet DeepSeek R1/Gemma3/Qwen3/gpt-oss could work with PHP 8.5/8.6 code - pipe operator included - even though PHPv8.5 was released months after the models themselves.

reply
Leaving definitions aside, the experiment you proposed wouldn't do anything for my concern. I have no doubt LLMs are capable of small extrapolations like in your example (going from pre-8.5 to post-8.5).

The interesting experiment would be for major jumps. Maybe the C++98 LLM could get a compilation going for C++23, but how good that would be? Can it now create a full C++23 project without constantly introducing bugs, poor performance etc?

What I'm getting at is that we're essentially describing a level of self-improvement that Opus 5.5 probably can't deliver. Maybe someone will test what I'm saying and prove me wrong.

reply