Can GPT-4 code in a dead programming language?

Опубликовано: 06 Март 2026
на канале: Chris Hay
1,007
47

OpenAI's next generation of ChatGPT GPT-4 is not only able to learn to programming languages, it is able to execute them. It's a computer. I taught the AI to code the LOOP programming language by Albert Meyer and Dennis Ritchie from 1967. In this video do we not only explore the compute capabilities of GPT-4 but we also learn the LOOP programming language.

It should be noted that I tried to do this with ChatGPT 3.5, and it utterly failed at this, showing the difference between GPT3.5 and GPT4

LOOP is A theoretical language that has never been implemented (i think) and that OpenAI's GPT4 doesn't know how to program. Not only does it learn the language but it executes it. LOOP is a pretty cool and simple language where you can code any program that is a primitive recursive function.

LOOP is a very important language in computer science history. Albert Meyer and Dennis Ritchie created the language to answer the question "can one look at a program and determine an upper bound on its running time?". Remember this is a language they created before Dennis Ritchie created the C programming language. you can read more about the language here: https://dl.acm.org/doi/10.1145/800196...

OpenAI's ChatGPT 4, is able to bring to life dead languages, and also show how the could execute.

#chatgpt #gpt4 #openai #computerscience