logoalt Hacker News

glimshe • yesterday at 7:35 PM • 1 reply • view on HN

Well, these private codebases and homespun DSLs are exactly the "relatively narrow cases" I mentioned. I'm one of these people, to be clear!

It remains to be seen if someone can use LLMs in this fashion for larger projects without extensive examples in the training data. Could LLMs develop good coding practices for C++23 just by looking at the STL/Compiler sources if it was trained with 90s C++ ?


Replies

overfeed • yesterday at 8:32 PM

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.

➕ show 1 reply