01

One machine, many tongues

A processor understands only its own instruction set, a few hundred simple commands such as add, compare and jump. Programming languages are human-friendly layers on top, translated into those instructions by compilers or interpreters. In principle any general-purpose language can compute anything another can; computer scientists call such languages Turing complete. Yet thousands have been created since the 1950s, and dozens are in wide professional use. The reason is that expressing an idea is not the only goal. How fast the result runs, how many errors the language catches, how easily a team can read the code years later and which tools exist for a task all matter, and no design maximises them all.

02

A history of solving problems

Many languages were born to fix a specific frustration. FORTRAN, released by IBM in 1957, let scientists write formulas instead of machine code. COBOL, from 1959, aimed at business records written in English-like statements. C, created at Bell Labs in the early 1970s to write the Unix operating system, offered close control of hardware with more portability than assembly language. Python, released in 1991, prized readability. Java, in 1995, promised that the same program would run on any machine. JavaScript, written in about ten days that same year, made web pages interactive. Each answered the needs of its moment, and successful ones stay because so much code depends on them.

03

Speed against convenience

The first trade-off is between speed and ease. Languages such as C, C++ and Rust compile ahead of time into efficient machine code and let programmers manage memory directly, so they power operating systems, games, browsers and databases. Languages such as Python and JavaScript handle many details automatically, letting people write useful programs in far fewer lines, but they usually run more slowly. Often the two are combined. A data scientist in Abu Dhabi may write a few lines of Python to analyse millions of rows, while the heavy calculations run inside libraries written in C or Fortran. Convenience sits on top, and speed works underneath.

04

Safety against control

The second trade-off concerns mistakes. Languages that give programmers direct access to memory make it easy to read or write the wrong place by accident, and such errors are a leading cause of security holes. Microsoft and Google’s Chromium team have each reported that around 70 per cent of their serious security bugs involved memory safety. Newer languages tackle this. Java and C# manage memory automatically, while Rust checks at compile time that memory is used correctly, keeping much of C’s speed. Type systems help too: a language that knows a value must be a date, not text, can catch errors before a program ever runs. Stricter rules can feel slower to write, but they prevent costly failures.

05

Languages for niches and people

Some languages are designed for a single domain. SQL asks questions of databases, R serves statisticians, Verilog describes chip circuits and spreadsheet formulas are, in effect, the world’s most widely used programming language. Others aim at learners: Scratch lets children snap blocks together. Nearly all mainstream languages use English keywords, which can be a barrier. Experimental languages have explored alternatives, including qalb, a 2012 project by the artist and programmer Ramsey Nasser that uses Arabic script throughout, highlighting how much computing assumes English. Companies also create languages to fit their platforms, as Apple did with Swift and Google did with Go, both designed to suit the companies’ own software.

06

Choosing and changing

In practice, people seldom choose a language on its merits alone. Existing code, available libraries, the skills of a team and the platform matter more: iPhone apps lean on Swift, web browsers run JavaScript and much scientific computing remains in Python. Switching is expensive, which is why decades-old COBOL still processes many bank and government transactions. New languages succeed when they solve a painful problem, such as memory errors, while working smoothly with existing code. AI coding assistants may shift the balance again, making it easier to translate between languages. The variety is not waste; it is a toolkit refined over seventy years of practical experience.

FOLLOW THE EVIDENCE

Sources & further reading

Figures are rounded and widely published; check the linked organisations for the latest editions. These organisations do not endorse this website.