From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on ip-172-31-65-14.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-2.2 required=3.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM,NICE_REPLY_A,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 Path: eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail From: magardner2010 Newsgroups: comp.lang.ada Subject: Re: ChatGPT Date: Fri, 31 Mar 2023 14:04:55 +0300 Organization: A noiseless patient Spider Message-ID: References: <3db3c046-bbcf-497b-afd5-ac6c2b9567afn@googlegroups.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Fri, 31 Mar 2023 11:04:55 -0000 (UTC) Injection-Info: dont-email.me; posting-host="ffb14e98e158b507ea59a428f4b3980c"; logging-data="1461719"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+DN7YSz85VaKK+aNjQiCUJHwCOgAdN4Lg=" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 Cancel-Lock: sha1:0Nc3qcxM6uF1SmQ+VXelGPMS9Fw= In-Reply-To: Content-Language: en-GB Xref: feeder.eternal-september.org comp.lang.ada:65031 List-Id: On 31/03/2023 09:54, Dmitry A. Kazakov wrote: > On 2023-03-31 01:00, Jeffrey R.Carter wrote: >> On 2023-03-30 23:49, Anatoly Chernyshev wrote: >>> >>> What do you think? >> >> No doubt there are a large number of such programs in the training >> data. If it had simply regurgitated one of those, at least the program >> would have compiled. That it couldn't even do as good as that is not >> impressive. > > Right. Fun would be adding qualifiers to the request. E.g. "in extended > precision", "taking arguments from user input" etc. Parroting works up > to some limit. > I have been trying to get chatGPT to help me with a larger Ada project on and off for the past few months. It not only has no idea regarding what functions do and do not exist in a given library, but it sometimes doesn't even understand how private types or tasks work. I will admit, those are not necessarily super common, but given how easy Ada makes it to use them, I can honestly say that Ada is the only language in which I am comfortable writing multithreaded programs that require more sophistication than a simple fork() call. So, yeah. ChatGPT knows the syntax of Ada, and it is familiar with Ada.Text_IO's more common functions. It knows about the existence of GNAT.Sockets and AdaSockets, but it has no idea on how to use them. I would be quite confident that that is pretty much it as far as ChatGPT and Ada goes.