Re:Global Forecast System source code
by upmygreen on Saturday January 31, 2015 @03:40PM
(#8978024)
I'm a part of this community. I assure you speed in number crunching is a huge reason this is written in F90.
[ Parent
| on HN ]
Re:Global Forecast System source code
by tankenmate on Saturday January 31, 2015 @04:53PM
(#8978225)
Indeed, automatic (and largely implicit) use of SIMD and OpenMP by the compiler is very very good with F90 compared to almost all other widely used languages.
I'm curious (really curious, although this might sound like a troll), have you ever tried a benchmark test on this? Things like this [0] come up every so often, and make me wonder about the efficiency advantage for coding in Fortran.
This is also relevant and insightful [1]. The top answer talks about Fortran's strict aliasing semantics.
[0] http://unriskinsight.blogspot.com/2014/06/fast-functional-go...
[1] http://stackoverflow.com/questions/146159/is-fortran-faster-...
Re:Global Forecast System source code
by greglindahl on Saturday January 31, 2015 @10:24PM
(#8979054)
[0] is a classic example of comparing programming languages attacking a problem with different algorithms.
I see that the author insults Fortran a couple of times, and I don't seen any indication that they tried to implement the better algorithm in Fortran. Did I miss something?