Linux Format

That is PROLOGICAL!

R eaders interested in programming languages will surely recognise the idea of a language being flavour of the month. However, in the interests of accuracy, we’d have to admit that the phrase “flavour of the year” or, more probably, “flavour of the decade” would be more appropriate. (looks at C++ – Ed)

What’s more, you’ll probably recognise the names of once-popular languages that are now little more than the stuff of history books. Indeed, once a language passes its peak of popularity, we might think that a steady decline to obscurity is surely inevitable, and it usually is. But statistics reveal one language that’s bucking the trend by coming back from the dead. That language is Prolog, and the revival in its fortunes is due, in no small part, to the artificial intelligence (AI) revolution.

Prolog is our subject here, but this isn’t an expose of yet another language because Prolog certainly isn’t a “also ran” programming language. By way of contrast, in featuring Prolog we’ll be introducing you to a language which, in all probability, looks totally unlike any other language you’ve ever seen before. Indeed, as we’ll see, it supports a totally different programming paradigm from the likes of Python, C++, Java, C# or even most of the golden oldies like FORTRAN, COBOL, PL/1 or Algol.

Prolog’s Resurrection

Prolog is no spring chicken – it clocks up its first half-century in 2022. Developed in a collaboration between the Universities of Aix-Marseille and Edinburgh, and introduced in 1972, it was designed specifically for programming AI applications. In particular, natural language processing was considered a particular strength. It wasn’t the first such– but, even today, the world still isn’t exactly awash with dedicated

You’re reading a preview, subscribe to read more.

More from Linux Format

Linux Format11 min read
Emulate The Classic Psion PDA Range
High school in the ’90s is where we saw our first Psion PDA (personal digital assistant) that we knew was a Psion. A classmate brought in a Psion 3a with a series of solid-state disks (yes, SSDs!) that had games and programs on. We forgot all about a
Linux Format9 min read
Inside the AI PC
Remember when 3D screens were the next big thing? What about virtual reality? Or 5G? The truth is that the technology industry loves buzzwords almost as much as it loves the tech itself, and its latest crush is AI PCs. The trouble is, if you ask five
Linux Format4 min read
Pi Pico 2
It’s four and a half years on from the original Pico release back in 2021, and while it may look very much like the original Raspberry Pi Pico, the Pico 2 is powered by a new system on chip (SoC) that sees two CPUs in one package. The RP2350 is a hig

Related Books & Audiobooks