The ensloppification of D is a grave mistake
Lance Bachmeier
no at spam.net
Mon Jul 6 18:18:29 UTC 2026
On Friday, 3 July 2026 at 10:55:19 UTC, solidstate1991 wrote:
> This means code that licensed GPL is in the training material,
> and sometimes it can resemble the original code very closely,
> see the FreeBSD exFAT driver, that was a bit less stable
> regeneration of the Linux exFAT driver hacked onto FreeBSD.
> Even worse is, that on the internet, we have both "source code
> viewable" type solutions, and source code that has been
> acquired through dubious means, to be then shared illegally
> without the consent of the original writers.
This issue has little to do with AI. People were attempting to
"relicense" code written by others long before we had the first
LLM that was useful for coding. That was true even when
Sourceforge was the dominant platform and it didn't start there.
The only solution is to check all contributions for originality.
That's a difficult task.
> Even if we get over these issues, there's the problem of code
> quality. Sometimes vibe coded applications pass basic safety
> checks, but then real-life tests prove those otherwise, and the
> code is overinflated with extra lines and extra unnecessary
> tricks.
Again, this is not specific to AI. Code review is always needed.
> GenAI code also led to an epidemic of "library slop": libraries
> created just because someone could, not because of someone
> needed them. Every time I thought of making a new library, I
> checked what's available rather than diving deep into making
> them myself. Now the new standard is making everything yourself
> just because it's more trendy that way.
This is an excellent argument in favor of AI. I've attempted to
run code from others that had more than a hundred dependencies
that had to be installed. In some cases, it was hundreds of
dependencies. I recently ran someone's Python code and had to
create an environment with over 700 MB of dependencies. Most of
the time, it's "I need this one small function, and I know it's
in this library over here", so they add it as a dependency. That
one library might have 25 dependencies of its own. If AI can rid
us of this mess, the more AI the better.
More information about the Digitalmars-d
mailing list