I had thought maybe rust, but I read some threads and people were stating the code it writes would not compile sometimes.
Ask HN: ChatGPT best programming language to use?
1–10 of 12 posts
Re: Ask HN: ChatGPT best programming language to use?
#2The training set likely contains more JavaScript than any other language, so the resulting code quality would probably be the best, but JavaScript is also the most tolerant mainstream language and would tolerate a lot of runtime errors.
Re: Ask HN: ChatGPT best programming language to use?
#3Re: Ask HN: ChatGPT best programming language to use?
#4Rust is a good idea because "does not compile" is better than "contains lots of errors, but compiles/runs anyway". No one should be running ChatGPT-produced code without carefully proofreading it anyway. The training set likely contains more JavaScript than any other language, so the resulting code quality would probably be the best, but JavaScript is also the most tolerant mainstream language and would tolerate a lo…
Re: Ask HN: ChatGPT best programming language to use?
#5It generates pretty good Typescript, if it doesn't select a deprecated library.
Re: Ask HN: ChatGPT best programming language to use?
#6Re: Ask HN: ChatGPT best programming language to use?
#7Re: Ask HN: ChatGPT best programming language to use?
#8Re: Ask HN: ChatGPT best programming language to use?
#9Re: Ask HN: ChatGPT best programming language to use?
#10It generates pretty good Typescript, if it doesn't select a deprecated library.
I wonder if that's because it's not weighting by recency in it's training or something.