Decades-old programming languages Fortran and Cobol are still thriving

Alfonso Maruccia

Posts: 1,084   +329
Staff
Old Glories: Fortran and Cobol are still among the world's most popular programming languages despite being almost 70 years old. They're certainly overachieving, but for entirely different reasons, and neither seem unwilling to go out of fashion as new technological advancements like AI keep old skills relevant.

The May 2024 edition of the TIOBE Index includes a couple of surprising results, placing two of the most ancient programming languages among the top spots in popularity among developers.

The TIOBE Index, which gathers data from 25 high-ranked search engines, is updated monthly and primarily focuses on Turing complete languages. As a result, HTML and other markup languages such as XML are excluded, despite their popularity as "coding" technologies. According to the latest TIOBE Index, Python, C, and C++ are the three most popular programming languages among developers.

Fortran, a compiled language originally created by IBM in 1957, is especially suited to numeric computation and scientific computing tasks. According to the index, this ancient language is still the 10th most popular programming technology. Fortran reentered the top 10 after more than 20 years, and TIOBE Software CEO Paul Jansen has provided some explanations for this seemingly odd situation.

The TIOBE Index simply "publishes what has been measured," and Fortran is apparently the subject of more than a thousand books available on Amazon. New, "cool" languages such as Kotlin and Rust barely hit 300 books for the same search query, Jansen said, while Fortran is still evolving, with the latest ISO definition for the language published in 2023.

May 2024 May 2023 Change Programming Language Ratings Change
1 1   Python 16.33% +2.88%
2 2   C 9.98% -3.37%
3 4 C++ 9.53% -2.43%
4 3 Java 8.69% -3.53%
5 5   C# 6.49% -0.94%
6 7 JavaScript 3.01% +0.57%
7 6 Visual Basic 2.01% -1.83%
8 12 Go 1.60% +0.61%
9 9   SQL 1.44% -0.03%
10 19 Fortran 1.24% +0.46%

The main reason for Fortran's resurgence, however, is its aptitude for mathematical computing. Fortran has some competition, but each newer language has its own issues. Python is slow, MATLAB is "very easy" for math-related computations but costly, and C/C++ are fast but lack native support for complex math. In this jungle of languages, Jansen said, Fortran still has a reason to exist.

As for Cobol, its popularity is even easier to understand. The English-like language was designed for business use in 1959 and is now the 20th most popular programming technology. Cobol is still widely used in mainframe computers employed in critical industries such as banking, automotive, insurance, and more. IBM is proposing an AI-based solution designed to "translate" Cobol applications into something more modern like Java, but the ancient language will likely remain relevant for the foreseeable future.

Permalink to story:

 
Yep, I learned and programed in COBOL starting back in the 80's and I've still got customers out there that occasionally ask for my services. It's a breeze to learn, edit, compile and de-compile and works just about flawlessly .....
 
The thought of ever having to program again in Fortran makes me ill. I don't care what window dressing they've done to modernise it, it's still sucks to code in. Compilers and accelerated libraries have made c++ highly competitive in scientific work. Since when doesn't c++ support complex math? What BS, its had a complex math library for donkey's years.
 
The explanation makes sense, but TIOBE is fairly noisy from month to month. You have to look at several months of data to see if there are any consistent trends. Similar to the surveys and measures that show OS adoption rates, you also need to look at several sources of information to see what is trending, as TIOBE is just one methodology of measuring it.
 
As it is stated on the TIOBE index page:
Basically the calculation comes down to counting hits for the search query
+"<language> programming"
They use 25 search engines and put some weight:
Google.com: 7.69%
Wikipedia.org: 7.38%
Amazon.com: 7.08%
Bing.com: 6.77%
Vk.com: 6.46%
Microsoft.com: 6.15%
...
There is a correlation between the number of indexed pages and the popularity of a programming language at some point in time, I don't think it shows the current state and it is biased by a lot of factors.

 
Took Cobol & Fortran classes back in the early 70's, The jr college had a giant Honeywell computer with tape drives and a punch card reader!😁 Had to create a program on punch cards and put in to the punch card reader to "compile" the program! Went to work in another field after that! I do remember Cobol was easier because it was almost like abbreviated English! 😲
 
Hmmm there must be a petabyte(s) of data files on COBOL mainframes that are represented in EBCDIC format. Beyond the EBCDIC collating sequenced files lurk packed decimal data and big endian binary fields.

I don't know of a du jour "modern language" that can process EBCDIC datasets and mainframe data field definitions.

Micro Focus COBOL and PL/I can - du jour languages can't

Many times it is impossible to convert EBCDIC datasets to ASCII because by the time the conversion is complete the ASCII converted datasets are obsolete.

A raised eyebrow to those that promote the nonsense of replacing COBOL
 
Back