by RoyTyrell · 5y ago · 0 comments
The U.S. government has been making a huge push in the past decade to downgrade as much code as possible that doesn't need to be classified and push as much development as possible into fully unclassified environments to mitigate the cost of needing a fully cleared workforce. And network connectivity is generally increasing for systems that were not networked in the past.
Trends like these could easily account for Fortran developers doing more work in the open where they can just use Google to get answers instead of checking proprietary and closed information sources.
The latest one does not even include either Fortran or Groovy, both of which allegedly and randomly got a lot more popular according to the article. I don't think either of those things actually happened.
https://insights.stackoverflow.com/survey/2020#most-popular-...
Fortran competitor, Julia is included. That might just be bias of the Stackoverflow user base of course. But, I think it's a pretty widely used tool also for Fortran developers. At least there are plenty of questions tagged with that (11K, which is more than Julia's 8K).
There recently was some HN post about Fortran, so I imagine that might have triggered a few searches.
I've also seen a confluence with the AI/ML communities. Some interesting applications of these tools to accelerate models used in weather, climate, chemistry, physics, and astrophysics require complex software interactions, usually running simultaneously with some multi-million line Fortran code base. There's been many interesting and clever marriages of classic HPC Fortran applications and novel, embedded AI/ML parameterizations.
That said, although I'm a Fortran fan and programmer I doubt its relative popularity has truly jumped so much in 1 year.
I'm told that is because the standard libraries are so optimized.
Also, there is a gigantic infrastructure of literature, algorithms and support for the language. It is also relatively easy for folks that don't code for a living to use.
I wouldn't know, from experience. The last time I had anything to do with FORTRAN was in 1987, and I don't miss it one bit.
As a single data point, I'm more and more drawn towards Fortran lately. I never used it before this year, having done all of my work in various non-Fortran languages, mostly C, C++, Matlab/Octave, lua, python+numpy, and Julia. I'm quite fed-up with limitations with all of these languages, and it seems that Fortran has actually its shit together, at least for purely numerical computation (which is all I do and all I need).
C: it is mostly alright, especially since C99 with VLA and complex numbers. Yet the aliasing rules are a bit annoying, and multi-dimensional arrays, while possible, do not really feel natural.
C++: an unholy clusterfuck... I almost ended crazy trying to use it properly. With extreme discipline maybe you can get to do some work with it. But not me.
Octave: very beautiful language with a natural, concise notation for math. Excellent out-of-the-box support for sparse matrices. Shame that loops are so slow; needs a serious effort on a JIT.
lua: my favorite general-purpose language. The luajit interpreter may be one of the fastest and easiest alternatives to Fortran. I wrote a matrix product using an explicit triple loop, and it multiplied huge matrices just slightly slower than an optimized blas. Extremely impressive! I'm very sad that the project is sort of "abandoned".
python+numpy: My least favorite, but the one that I use the most... what can I say: this is a general-purpose language where you can sort of do math in it. But it is not a language tailored for math. The base language has natively strings and dictionaries (for which I have no use) but it doesn't have native multidimensional arrays of floats. I do not understand why the numeric computing community is shifting so much to python, it makes no sense in my eyes. Also, loops are insultingly slow.
Julia: may be the best of the bunch, but launching the interpreter is excruciatingly slow, and it does not suit my usage. In the time that julia uses to compile a three-line program to plot "sin(x)", you can run one hundred times the Fortran compiler on the equivalent program (or simply call gnuplot). All in all, it keeps pretty much the promise of "matlab with fast loops", which is just what I need. But I feel that it's still a bit far from being there.
There's no way to know if a language is becoming more popular. You can only observe if a measure of language popularity is rising, falling, or staying the same. We're almost certainly observing the "measured" part as opposed to the "actual" part.