Fortran actually isn't a static language. It's evolved over time. The last significant revision according to wikipedia is just over a year old. The beauty and horror of it probably depends which era of it you're looking at.
IIRC, most people who use Fortran use it because there are extremely specialized physics libraries (or astronomy, or chemistry, and so on) that were probably written three to four decades ago by an extremely intelligent PhD student who lacks a proper programming background. Which suggests that the biggest source of horror would be that most code you'll come across was written by a non-programmer who is intelligent en…
Fortran.io – a Fortran Web Framework
161–170 of 255 posts
Re: Fortran.io – a Fortran Web Framework
#162Earlier quoted context omitted.
Lots of number crunching code relies on Fortran libraries even today. Install numpy, it will pull in Fortran stuff.
Numpy actually explicitly doesn't need fortran. It will use some fortran lapack libraries for optimizations if they're present, but it doesn't depend on fortran at all. Scipy is a different story. The need for a fortran compiler was a big part of the original rationale for the divide of numpy and scipy when they replaced numeric. Numpy was meant to be the lighweight/core version of things, and scipy was the full-fled…
Re: Fortran.io – a Fortran Web Framework
#163Earlier quoted context omitted.
In the late 90s I remember a saying roughly "I don't know what language scientists will be using in 20 years, but it will probably be named Fortran"
I also like the saying "you can write FORTRAN in any language".
Re: Fortran.io – a Fortran Web Framework
#164I honestly am not too sure why there is so much derision regarding Fortran (ageism?). A lot of people don't seem to realize the importance this language still has in scientific computing.
Fortran has moved on, even if you professor hasn't.
Re: Fortran.io – a Fortran Web Framework
#165It's definitely not a dead language – a new Fortran front-end has recently been accepted into the LLVM project, joining Clang. So LLVM's only in-tree supported languages (excluding the various IRs) will be C, C++, Objective-C, and Fortran. It had been scheduled for merge into the LLVM monorepo 2 days ago, but has been delayed pending some additional architecture review.
Latin was dead long before it stopped being used in written works. It died when it stopped being spoken and stopped changing. I don't know if Fortran would be considered dead by the "no longer adapting" definition, but that it's still in use isn't proof it's alive.
Re: Fortran.io – a Fortran Web Framework
#166Earlier quoted context omitted.
I also like the saying "you can write FORTRAN in any language".
After Fortran got its array syntax 29 years ago, there aren't many languages that you can use to write array-manipulating code like in Fortran. Maybe just Julia and NumPy?
Re: Fortran.io – a Fortran Web Framework
#167Earlier quoted context omitted.
I also like the saying "you can write FORTRAN in any language".
After Fortran got its array syntax 29 years ago, there aren't many languages that you can use to write array-manipulating code like in Fortran. Maybe just Julia and NumPy?
Raku (perl6).
Re: Fortran.io – a Fortran Web Framework
#168Re: Fortran.io – a Fortran Web Framework
#169Re: Fortran.io – a Fortran Web Framework
#170Earlier quoted context omitted.
IIRC, FORTRAN is used heavily in the LINPACK/LAPACK libraries which are further used in higher level libraries such as numpy. So it’s likely true that it still sees use in control software running trains, banks, air traffic control, etc.
It is still heavily used for numerical code in various places, especially aerospace (to avoid reverifying code with new languages or just to ensure new work can be accurately compared with old work) There's even a CUDA compiler. As I understand it, lack of pointers makes it possible for fortran compilers to parallelize code quite well.