| Deutsch English Français Italiano |
|
<vt02cs$3ad4n$1@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!weretis.net!feeder9.news.weretis.net!news.quux.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail From: Muttley@DastardlyHQ.org Newsgroups: comp.theory,comp.lang.c++ Subject: Re: AI generated code Date: Mon, 7 Apr 2025 08:29:16 -0000 (UTC) Organization: A noiseless patient Spider Lines: 22 Message-ID: <vt02cs$3ad4n$1@dont-email.me> References: <13rIP.687400$Kb9a.423312@fx16.ams4> Injection-Date: Mon, 07 Apr 2025 10:29:17 +0200 (CEST) Injection-Info: dont-email.me; posting-host="c77e68994ef2af5ba0209437247748a3"; logging-data="3486871"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19rk+pW7viCnttpGsBMaj+C" Cancel-Lock: sha1:0UxdvKOxiwvQChq+emqLKzqdkyA= Bytes: 1965 On Sun, 06 Apr 2025 08:37:17 GMT Mr Flibble <flibble@red-dwarf.jmc.corp> wibbled: >I have an interesting observation about using AI to write code. I tried >ChatGPT, Grok and DeepSeek and none of them could reliably generate code >in the form of a large C++ enum and associated array based on a table of >input values however I was able to get ChatGPT to write some C++ code to >parse the input data directly to generate that code. > >You have to be smart about how you use AI leveraging your own software >engineering knowledge to navigate LLM hallucinations. Less of the trust >and more of the verify. I'm not an expert on LLMs by any means, but I suspect the syntatic and semantic reconstruction of human language is fairly flexible because the grammar is fairly flexible. Obviously this is not the case for a computer language which needs to be absolutely bang on syntatically and with everything in the correct order and with certain things that must be done or it won't work. >#compsci #ai #meta #ChatGPT #Grok #DeepSeek #cpp #coding Umm, I'm pretty sure hashtags have zero effect on usenet.