• AI generated code

    From Mr Flibble@flibble@red-dwarf.jmc.corp to comp.theory,comp.lang.c++ on Sun Apr 6 08:37:17 2025
    From Newsgroup: comp.lang.c++

    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.

    #compsci #ai #meta #ChatGPT #Grok #DeepSeek #cpp #coding
    --- Synchronet 3.20c-Linux NewsLink 1.2
  • From Muttley@Muttley@DastardlyHQ.org to comp.theory,comp.lang.c++ on Mon Apr 7 08:29:16 2025
    From Newsgroup: comp.lang.c++

    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.

    --- Synchronet 3.20c-Linux NewsLink 1.2
  • From yeti@yeti@tilde.institute to comp.theory,comp.lang.c++ on Mon Apr 7 09:23:01 2025
    From Newsgroup: comp.lang.c++

    Muttley@DastardlyHQ.org wrote:

    #compsci #ai #meta #ChatGPT #Grok #DeepSeek #cpp #coding

    Umm, I'm pretty sure hashtags have zero effect on usenet.

    It'd be nice to see "Keywords: ..." used more often.
    --
    Fake signature.
    --- Synchronet 3.20c-Linux NewsLink 1.2