Array Languages #21: Why Another Programming Language? A Video Series on Thinking in Arrays
979 words • 5 min read • Abstract

I’ve started a video series that teaches array programming, using my language X_eTaL. Episode 1, Why Another Programming Language?, runs about eight and a half minutes. This may be the dawn of personal programming languages, and this is not the first one I’ve started creating. I want people to be able to learn my new APL-inspired language, so I am using Remotion and X_eTaL itself to generate video tutorials.
| Resource | Link |
|---|---|
| Video | Why Another Programming Language? Array Languages #1![]() |
| Try X_eTaL | In your browser |
| Code | X_eTaL, X_eTaL-video |
| The series | Array Languages: every post |
| Comments | Discord |
One step at a time
Most programming languages teach us to think one step at a time: create a variable, loop, take an element, operate, store, repeat. The episode starts there, with a Rust loop that doubles four values and prints [2, 4, 6, 8], and points out how much of it is mechanism (the storage, the iteration) rather than the one operation that matters.
The whole computation
Array programming describes the whole computation instead. In X_eTaL, 2 * values doubles every value at once, and it reads the same for four values or a hundred: 2 * r_ange 100 is 2 4 ... 200. Reduce, given plus, sums a list ('+ r_/ 1 2 3 4 is 10), and given times, multiplies it (24).
The array family
The episode traces where array languages came from: Iverson’s notation in 1962; APL\360 from IBM in 1968, the first you could type at; APL2 in 1984, which added nesting; J in 1990, which kept the semantics and moved to ASCII; K, stripped down; and BQN, which redesigned the glyphs in 2020. Then the same idea in each of their spellings, and the special keyboard APL needed, with the 2741 from TBT #15.
Why X_eTaL
Then X_eTaL itself: the name, the eXperimental Extensible Typed Array Language, LaTeX reversed; typed in plain ASCII on a US keyboard and drawn as notation; static types, inferred; ideas borrowed on purpose from APL, BQN and J, Haskell and Rust; a small core that changes only when a real program needs it, with growth pushed out into libraries, macro libraries and extensions; and the browser editor. It ends with a look ahead at pipelines and equations, circuits, GPUs, 3D models and ray tracing, and fine-tuning, and an exercise to try before the next episode.
The series ahead
The first module is twelve episodes, each five to fifteen minutes. The first seven are mostly language-neutral: learn to think in arrays before learning X_eTaL’s syntax.
| # | Episode |
|---|---|
| 01 | Why another programming language? |
| 02 | From scalar loops to array operations |
| 03 | Shape, rank, axes and dimensions |
| 04 | Mapping, filtering and reducing |
| 05 | Broadcasting and array semantics |
| 06 | Array idioms: thinking without loops |
| 07 | APL, J, K, BQN and X_eTaL |
| 08 | Reading and writing X_eTaL |
| 09 | Bindings, values and immutability |
| 10 | Functions as values |
| 11 | Pipelines and function composition |
| 12 | Your first complete X_eTaL program |
Later modules (types and functional programming; idioms, macros and language design; libraries and extensions; demos and games; GPUs; machine learning and fine-tuning) get planned once the first episodes’ pacing, look, voice and accuracy are settled.
How it’s made
The episode is built in X_eTaL-video, rendered with Remotion and narrated in my cloned voice using VoxCPM running on an RTX 3090 (24 GB), with my own music between sections. Every X_eTaL line it shows is run at a pinned version of X_eTaL, and the episode’s README lists every fact the narration states with its source.
Closing
I learned APL on a 2741 decades ago, and thinking in arrays has shaped how I program ever since, even in languages that don’t have them. The best way to learn to think in arrays is to try it. Watch the episode, do the exercise at the end in the browser editor, and tell me on Discord what was clear and what wasn’t. The early episodes will shape the pacing, look and voice of the rest of the series, so feedback now matters most.
Part 21 of the Array Languages series. View all parts
Comments or questions? SW Lab Discord or YouTube @SoftwareWrighter.
