Hello,
This leads me to question what is the main concern about AI-generated code
that we are posing as an open source community.
It has been pointed out in the thread that AI can make mistakes, introduce
risk for prompt injection, etc. It is true, and thus, it would require lots
of human testing and supervision.
But that is also true of human produced code.
Everytime there is a bug, it means that the code hasn't been proved
thoroughly enough by someone.
There is no cure for this, other than automatic testing (for which AI may
help), as well as being open source, which implies that anyone can see the
code has been produced, and point out defectuous (even malicious) software
(for which, by the way, AI may also help to discover).
Second, I understood from previous threads that the most worrying issue
with AI-generated code is that, being unclear where the LLM manufacturer
has trained the engine from, you may be incurring into copyright issues, as
produced code may have been excerpted from a non-open source code
repository.
It sounds to me like a reasonable argument against AI-generated code, which
is difficult to control, especially if the LLM used is something like
ChatGPT or Gemini or Claude, which may have not taken enough care for this
issue, or worse, may at sometime claim some kind of ownership in the
produced code (I have not had an in-deep read of the LLM using license).
We will have this problem until there is a LLM that is good enough to
produce decent code, and has been trained with such a guarantee (I can
imagine some open source initiative that does this (I am not a LLM expert,
so this may already exist).
I point this out after Gregory's mail, because in this case, having a human
check the code after producing is not enough.
Incidentally, it has been mentioned that AI is not good for code, but good
for translations. I have my issues with this argument, because I have
always considered documentation as software. I don't know why it is "safer"
from the concerns above about something written in French or Spanish than
something written in C or Pascal.
Speaking about other user cases, I suppose that it would be safe to use AI
to assist in testing, as well in reading and analysing code ("tell me if
you find any serious issue within this code").
To sum up:
I don't have a clear idea about our FreeDOS community statement about AI
used for generating code. The second argument (potential copyright issues)
looks concerning to me, whereas the first argument of code
stability/quality does not make much sense (in the sense that it introduces
any special concern that did not exist for human-generated code). Unless I
am missing something.
Thanks for your attention and open for comments,
Aitor
El sáb, 3 oct 2026 a las 3:42, Gregory Pietsch via Freedos-devel (<
[email protected]>) escribió:
> AI code is good for rough drafts, but a human has to check the final code
> in a project. -- Gregory
>
> On Fri, Oct 2, 2026 at 9:28 PM Ralf Quint via Freedos-devel <
> [email protected]> wrote:
>
>> Found the following interesting statement from GCC regarding the refusal
>> to include AI generated code in the project
>>
>>
>> https://gcc.gnu.org/ai-policy.html?utm_medium=email&_hsenc=p2ANqtz-_bC7VDNd44BXqX3jBV5Cg-cbjUPoGuBdgW9r5HVta9XuOJbd1LNt7CvLiscFcfLFPU9QZzoJEd69cNTMzPuj_Jks5G3Q&_hsmi=442194953&utm_content=442194591&utm_source=hs_email
>>
>>
>> hope that not too many proponents of "vibe coding" and similar
>> frivolities get their knickers all in a twist over this... ;P
>>
>>
>> Ralf 😎
>>
>>
>>
>> _______________________________________________
>> Freedos-devel mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/freedos-devel
>>
> _______________________________________________
> Freedos-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/freedos-devel
>
_______________________________________________
Freedos-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freedos-devel