Catch up on stories from the past week (and beyond) at the Slashdot story archive

 



Forgot your password?
typodupeerror
×
Programming

FORTRAN and COBOL Re-enter TIOBE's Ranking of Programming Language Popularity (i-programmer.info) 93

"The TIOBE Index sets out to reflect the relative popularity of computer languages," writes i-Programmer, "so it comes as something of a surprise to see two languages dating from the 1950's in this month's Top 20. Having broken into the the Top 20 in April 2021 Fortran has continued to rise and has now risen to it's highest ever position at #10... The headline for this month's report by Paul Jansen on the TIOBE index is:

Fortran in the top 10, what is going on?

Jansen's explanation points to the fact that there are more than 1,000 hits on Amazon for "Fortran Programming" while languages such as Kotlin and Rust, barely hit 300 books for the same search query. He also explains that Fortran is still evolving with the new ISO Fortran 2023 definition published less than half a year ago....

The other legacy language that is on the rise in the TIOBE index is COBOL. We noticed it re-enter the Top 20 in January 2024 and, having dropped out in the interim, it is there again this month.

More details from TechRepublic: Along with Fortran holding on to its spot in the rankings, there were a few small changes in the top 10. Go gained 0.61 percentage points year over year, rising from tenth place in May 2023 to eighth this year. C++ rose slightly in popularity year over year, from fourth place to third, while Java (-3.53%) and Visual Basic (-1.8) fell.
Here's how TIOBE ranked the 10 most popular programming languages in May:
  1. Python
  2. C
  3. C++
  4. Java
  5. C#
  6. JavaScript
  7. Visual Basic
  8. Go
  9. SQL
  10. Fortran

On the rival PYPL ranking of programming language popularity, Fortran does not appear anywhere in the top 29.

A note on its page explains that "Worldwide, Python is the most popular language, Rust grew the most in the last 5 years (2.1%) and Java lost the most (-4.0%)." Here's how it ranks the 10 most popular programming languages for May:

  1. Python (28.98% share)
  2. Java (15.97% share)
  3. JavaScript (8.79%)
  4. C# (6.78% share)
  5. R (4.76% share)
  6. PHP (4.55% share)
  7. TypeScript (3.03% share)
  8. Swift (2.76% share)
  9. Rust (2.6% share)

FORTRAN and COBOL Re-enter TIOBE's Ranking of Programming Language Popularity

Comments Filter:
  • by 93 Escort Wagon ( 326346 ) on Sunday May 19, 2024 @06:23PM (#64483801)

    And that is that TIOBE and its brethren don't actually measure or tell us anything particularly useful. But I don't expect Jansen to give voice to that.

    • by dgatwood ( 11270 ) on Monday May 20, 2024 @02:29AM (#64484335) Homepage Journal

      Maybe they hint at something useful, anyway.

      • TIOBE gives some idea of how many jobs are out there and how many people are working in specific areas.
      • PYPL gives some idea of how many newbies are starting to learn a language.

      How to interpret those two numbers, of course, likely depends on the language. Swift, for example, is being learned by a lot of newbies because folks are replacing Objective-C code with Swift code, and people are being kind of forced to learn it, which pushes it artificially higher on PYPL, and pushes Objective-C artificially lower. The same is probably true for Typescript, which is #7 on PYPL and #50 on TIOBE.

      In other cases, it's a hint that the language is popular among non-programmers. R is #5 on PYPL, #24 on TIOBE. It is mostly used by people for whom programming is a means to an end, rather than their primary job responsibility, e.g. people working in biotech and other non-software firms, so those jobs show up as "bioinformatics engineer" rather than "R engineer".

      In still other cases, it's a hint that way more people want to learn the language than can actually get jobs using it, because programmers think it's neat, but not very many companies actually want to pay people to use it. Rust immediately springs to mind.

      So I guess they try to tell us something, but it's hard to tell what they're saying without lots of additional context, so folks are unlikely to actually agree with one another about how to interpret them.

    • In the land of F's, D is king.

    • Why is there a TIOBE post only once a month?

      They should switch to a weekly story.

  • by Mr. Dollar Ton ( 5495648 ) on Sunday May 19, 2024 @06:56PM (#64483841)

    There's nothing better than FORTRAN for computations involving large matrices, the libraries it has are excellent and well-tested, and the newer versions provide you with any facility you find in a "modern" language. And it is FAST, so fast that your numpies cry out of envy.

    COBOL, well, I don't like it, but I may be biased.

    • FORTRAN really works well and lots of new code it still written in it. It really *is* the language of technical computing and very good at it.

      COBOL, on the other hand, exists solely due to maintaining legacy code, nearly no one is starting new projects or writing new code in COBOL.

      • All I've ever heard done in COBOL was "legacy code maintenance" and that was in the early 90s. The bastard is a tough little motherfucker, I'll die before it is fully dead :)

        • Yes, there is so much of it and modern techniques and languages are so poorly suited to the sorts of thing COBOL is good at, it's going to be a very long time before it goes away completely.

                I used to know something about it 45+ years ago, but I doubt I could do anything useful now.

          • We really should kill of some of the new programming languages. Had to learn python recently. It is nice, but in essence yet another programming language. The software world is getting bloated in yet another way to write a for loop. I am getting too old for this. ;-)
      • If you are in a company that has lots of legacy COBOL, and programmers that can do it: you obviously write in COBOL.

        A green hill project, where you not even have a team for, but two or three lead designers or lead architects, you might be able to chose a different language.

        I would always go with the language the people are accustomed, too.

        Does not make any sense to introduce C#, Python, Java in a team that is hard core main frame COBOL.

    • Don't forget that modern Fortran also is quite good at handling multithreading and is able to do that with large matrices 'under the cover' with no or little effort from the programmer.

      Not every compiler, but enough of them.

      Add to it that modern Fortran is easy to understand and write as well as making it a lot harder to write code that has security flaws like 'use after free' cases and similar compared to C.

      • Don't forget that modern Fortran also is quite good at handling multithreading and is able to do that with large matrices 'under the cover' with no or little effort from the programmer.

        Not every compiler, but enough of them.

        Add to it that modern Fortran is easy to understand and write as well as making it a lot harder to write code that has security flaws like 'use after free' cases and similar compared to C.

        During the last 35 years, about 80% of my work is for clients who want Fortran source code.
        So many happy memories. :)

        /** barf [ba:rf] 2. "He suggested using FORTRAN, and everybody barfed."
        - From The Shogakukan DICTIONARY OF NEW ENGLISH (Second edition) */

      • Re: (Score:2, Informative)

        by DeathToBill ( 601486 )

        Python has all of that. Why would I use Fortran?

        Last time I was working in Fortran, all the numerical code was provided by a library that was written in C (netlib / lapack). Has that changed significantly?

        The last time I saw someone touting the world-beating performance of Fortran, they had a site full of metrics to back it up - except that the site had been updated since they last looked and these days GCC compiling C beats every Fortran compiler on every benchmark by a pretty handy margin, up to an orde

      • Maybe not a lot of Fortran is being written - but huge amounts of Fortran code is still being executed

        - AFAICT Maxwell's equations have not changed since 1970, so the code written to solve them will not have changed either.

        The US Navy code for managing statistical data, which was originally written in the 1960's for an IBM 360
        which I ported to a CDC7600 in 1973 - was still in use in 2013 on a Cray. Its probably still in use - but on a completely different architecture.

        No need to rewrite the code -

  • by Baron_Yam ( 643147 ) on Sunday May 19, 2024 @07:09PM (#64483859)

    When I was in school 30 years ago, they offered a non-credit course in COBOL so we could find work between semesters. Non-credit because it was already 'dead'. I am not surprised to find you can still find a need for COBOL programming skills.

    • A Year 10,000 joke.

      A crypt is opened and the person is revived. "I guess you are wondering why we brought you back. So it says on your LinkedIn profile that you know COBOL...."

  • Do you trust a website using wordpress? :)
    On a serious note, I find it odd that JavaScript is not ranked higher, considering its extensive use in front-end web development. This might be due to different keywords and frameworks not being aggregated under the umbrella of JS. For instance, typescript gets transpiled to javascript and checkout the top change requests & bugs mentioned:

    "Apart from “ programming”, also other queries such as “programming with ”, “ development

    • by bn-7bc ( 909819 )
      Du Itrust axwebsite using wordpress? Wordpress without plugins, maby. Wordpress with 100+ random plugins, absolutely not that's an attac surface that is a bit to large + with all those plugins you can probably expect at ,east one not to be for the latest version of wp and thus keeoing the whole instance on an older non patched version, not ideal
  • by stevel ( 64802 ) on Sunday May 19, 2024 @08:33PM (#64483975) Homepage

    It isn't any more accurate to call Fortran a "language of the 50s" than it is to call C a "language of the 70s". As others have noted, Fortran has evolved significantly over the years, with the most recent revision, Fortran 2023, published just six months ago. It is still a very popular language in engineering and scientific applications.

    • If anything, Fortran has a head start. It's had native matrix and vector types/operations, with compilers that map these to SIMD instructions and even parallel processes, since the 90s. Meanwhile, other major languages were looping the loops like it was the PDP-11, with fancy compilers possibly allowing vectorization via extra directives. Fortran was written by scientists for scientists; nature doesn't loop over dimensions when adding velocities — why should the programmer split a vector operation in

  • How else to explain both Fortran and Python on the same list. Pretty sure cobol also had an 80 column limit at some point.

    Next python feature: all-caps only and no mathematical operators beyond the basic four. Comparisons to be expressed with .gt. and string comparison with .eq.

  • by Plugh ( 27537 ) on Sunday May 19, 2024 @10:58PM (#64484193) Homepage
    Honest question. I mean neither is super hot right now but there is a metric ton of Perl glue code. And any glue that is not made out of Perl is probably in bash. People generally do not use VBasic as a quick script to make pieces of the Internet fit together.
    • ... Internet fit together.

      "Internet", Kids these days! A 5-digit U.Id. and your lack of experience is showing. Visual Basic is the closest that general-purpose software has come to drag-n-drop programming: Think of making vector images through a SVG-language text-editor versus through a GUI like Inkscape. That's what Visual Basic did for MS Windows runtime-environment programming.

      Just like the other new-kids-on-the-block; CoBOL, ForTran and C, there will be a lot of legacy code.

    • Maybe all the questions about glue code have been answered on stackoverflow - so does not make an impression on the scoring mechanism.
    • MS Excel macros.

  • by udif ( 32355 ) on Monday May 20, 2024 @01:41AM (#64484283)

    The PYPL table (2nd one) was copied incorrectly and dropped C++ at 5 (That's why the table ends at #9).

    • by Anonymous Coward

      It is wrong in the first place, as it has "julia" (which is, ostensibly, a FORTRAN replacement that nobody I've heard of uses), but no FORTRAN in the first 30 spots.

  • Good, but (Score:4, Funny)

    by vbdasc ( 146051 ) on Monday May 20, 2024 @03:00AM (#64484355)

    Algol 60 and RPG II , when?

  • I'm going to create a popular language called TOIBE just to bleep with the TIOBE index readers.

  • ok, been a while, but... I recall that you could define the f*ck out of your fields, then your procedural code was trivial. Really quite a good way to do things.

    I don't understand whoever is saying cobol "is a lot of typing". What?
    You "type less" in Python? Not from what I've seen. "Typing" is the wrong metric to analyze...

    COBOL is for record processing
    it is fit for that purpose.

nohup rm -fr /&

Working...