Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.ai.shells > #284

Re: Combining ChatGPT with a Fortran compiler

From Spiros Bousbouras <spibou@gmail.com>
Newsgroups comp.lang.fortran, comp.ai.shells
Subject Re: Combining ChatGPT with a Fortran compiler
Date 2023-07-06 10:41 +0000
Organization A noiseless patient Spider
Message-ID <xw9ms+MgauezxD3n2@bongo-ra.co> (permalink)
References <c6166070-90e7-41bc-9a72-d440d96528b8n@googlegroups.com> <9f547080-b7db-409c-b896-041ba0acf21en@googlegroups.com> <d78cf903-0b99-4abf-8657-7bfe9f28fcdfn@googlegroups.com> <13d27310-c2e8-4365-ac17-949135c43dc7n@googlegroups.com>

Cross-posted to 2 groups.

Show all headers | View raw


[ Crossposting to  comp.ai.shells ]

On Wed, 5 Jul 2023 19:37:12 -0700 (PDT)
Beliavsky <beliavsky@aol.com> wrote:
> On Tuesday, April 4, 2023 at 10:36:13 PM UTC-4, Beliavsky wrote:
> > https://github.com/mherrmann/fix is a project using ChatGPT to fix errors
> > in a user's C++ code. The same procedure could be used to prompt ChatGPT to
> > fix code it generates with feedback from the compiler. If such tools are
> > created for Fortran it will raise the productivity of Fortran programmers,
> > especially newer ones. It is also possible that resources such as Stack
> > Overflow and now ChatGPT make people lazy and less likely to read books to
> > understand the programming languages they use.
> 
> I wrote a Python program at
> https://github.com/Beliavsky/ChatGPT-Fortran-generator that will
> iteratively present ChatGPT with a Fortran code and a compiler error
> message and ask for a fix. You do need a paid account to use it, but the
> cost for ChatGPT 3.5 is very low. I have submitted hundreds of queries and
> paid less than $0.20.

You paid little in terms of money but you must have spent a lot of time
submitting all those queries. So was it time well spent ? Did it make
you more productive compared to not using ChatGPT at all ?

Back to comp.ai.shells | Previous | Next | Find similar


Thread

Re: Combining ChatGPT with a Fortran compiler Spiros Bousbouras <spibou@gmail.com> - 2023-07-06 10:41 +0000

csiph-web