News for hackers. Stuff that matters.
Re:GPT-4 is phenomenal at Code by LightMachine on Tuesday March 14, 2023 @08:31PM (#35161879)
Even if that was the case, it'd still be massively useful because it would allow code to be transposed between languages idiomatically. For example, certain things like game engines were only implemented in very messy C++ code. If GPT understands how these libraries work, could it recreate all these game engines as cleaned up, elegant Haskell code?
Re:GPT-4 is phenomenal at Code by og_kalu on Tuesday March 14, 2023 @08:37PM (#35161947)
Bilingual LLMs are already excellent at translating human languages. I imagine we'll find that GPT can translate between existing programming languages very well.

We could soon see a future where "Damn this useful paper/code is in x language. Have to wait for someone to port the code over to y language" is a thing of the past.

Re:GPT-4 is phenomenal at Code by dwohnitmok on Wednesday March 15, 2023 @12:10AM (#35163757)
They are excellent. Not quite human level, but very very close. I was curious about Chinese-English translation capabilities of the latest crop of models and on more difficult texts a bilingual model like GLM-130B makes several errors per page while GPT-4 is down to probably just around one.

Interested to see how that plays out for programming languages.