UNLIMITED

Linux Format

APL: going strong after all these years

OUR EXPERT

Mike Bedford might not use it in anger, but he’s been fascinated by APL’s quirkiness since he first saw how it could generate prime numbers in just 20 characters.

The classic IBM 5110 luggable, as we discovered in LXF291, ran APL, which stands for A Programming Language, yes really. Despite APL – according to the TIOBE index of the popularity of programming languages – languishing somewhere between the 50th and 100th positions, we were surprised to find that APL still has an enthusiastic following among enthusiasts and for developing commercial applications.

As always, the unexpected is the trigger for articles, and we’re delving into classic programming languages and why some coders choose APL over today’s latest and greatest languages, and what types of application benefit from its different approach to problem solving.

APL overview

Before starting to look at how and why APL is used today, we ought to paint a picture of it. Common descriptions range from unusual to downright bizarre. In fact, a professor of computer science at an American university is on record as saying that “APL is a language designed by a mad-man”. Part of the reason that APL is considered strange is its use of special symbols, instead of keywords, for many of its functions. We also have to say that it is terse in the extreme, as you can see from the following hieroglyphics: , which is a variant of the commonly cited code for displaying all prime numbers up to a maximum of X. Part of the reason that APL code is so concise is that, although some newer variants

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

More from Linux Format

Linux Format3 min read
Ubuntu Unity 24.10
The Unity interface was originally developed as an alternative to Gnome 2 by Canonical and included in Ubuntu from April 2011. Ultimately, Canonical abandoned Unity in favour of switching back to Gnome. This decision didn’t sit well with Ubuntu devel
Linux Format13 min read
Fyne Times Ahead
Developing software to run across Linux distros is bad enough, but Andrew Williams, CEO of Fyne Labs (https://fynelabs.com), is making software easier to run across operating systems, devices and the web. We sat down with him and chatted about Go, Ja
Linux Format1 min read
Subscribe To Linux Format Magazine Save 5o%*
www.magazinesdirect.com/LIN/H23A Call 0330 333 1113 and quote H23A NEW! Digital access to 130+ issues when you subscribe to print!** OUTSIDE THE UK? Turn to page 63 for more great subscriber deals! » NEW: Improved digital back-issue access!** Get ins

Related