← Back to context

Comment by johnnyjeans

11 hours ago

Prolog (and logic programming in general) is much older than you think. In fact, if we take modern functional programming to have been born with John Backus' Turing Award presentation[1], then it even predates it.

Many advancements to functional programming were implemented on top of Prolog! Erlang's early versions were built on top of a Prolog-derived language who's name escapes me. It's the source of Erlang's unfamiliar syntax for more unlearned programmers. It's very much like writing Prolog if you had return values and no cuts or complex terms.

As for penetrating general use, probably not without a major shift in the industry. But it's a very popular language just on the periphery, even to this day.

[1] - https://dl.acm.org/doi/10.1145/359576.359579

> Erlang's early versions were built on top of a Prolog-derived language who's name escapes me.

AFAIK, Erlang was originally implemented in Prolog and the original VM was inspired by the Warren Abstract Machine targeted by some Prolog implementations. It was also inspired by PLEX, but PLEX wasn't a Prolog derivative.

Did you just answer me with chatgpt?

  • > top of a Prolog-derived language who's name escapes me

    are you saying we've made a huge leap in LLMs - that they can now admit when they don't know something?

    • With the right prompting you can get LLMs to output pretty much anything :)

      > What is the airspeed velocity of an unladen Eurasian blue tit?

      > I’m not sure. The specific airspeed velocity of an unladen Eurasian blue tit hasn't been studied or widely documented in the same way that birds like swallows have been. It would likely depend on many factors like the bird’s weight, wing shape, and wind conditions. If you’re looking for general information about bird flight or blue tits, I can help with that!

      /GPT-4o