7 ms·
The more I read about Fortran the more fascinated I become with it. Its treatment of arrays is similar to Pandas/Numpy. The performance is close to C without an
by sheepscreek 4y ago
The more I read about Fortran the more fascinated I become with it. Its treatment of arrays is similar to Pandas/Numpy. The performance is close to C without any optimizations. Without the pointer laden complexity and gotchas that come with C/C++.
- tomrod 4y agoString parsing is a bit rough, but otherwise Fortran is much better than Matlab -- and Matlab was written in the 1990s to be "Fortran for the 90s". Numpy enabled scientific computing folks to leave Matlab (and some, Fortran) to adopt Python. I took a coin flip in grad school to decide whether to focus on Python and Fortran. Python won the flip, but I've always loved Fortran generally.
- Jtsummers 4y agoMATLAB originated earlier than the 90s, and was not "Fortran for the 90s". That's a weird ahistorical view of things.
- ktpsns 4y agoModern Fortran has a number of attractive features. Parallel programming (Co-arrays) is another gem of recent Fortran versions. Concise syntax conforming with traditional numerics makes it still a good domain specific language of choice. In my opinion, Julia is a good successor of Fortran. In my opinion it behaves as a child of Python/Numpy and Fortran ;-)
- deleted 4y ago[deleted]
- TheRealKing 4y agoActually, it is the other way around. Pandas/NumPy were inspired by the Fortran syntax. Fortran's treatment of optional arguments are also great. Arbitrary array indexing (0-based, 1-based, negative-based) is a bliss.
- sheepscreek 4y agoI believe you. It’s a best kept secret even among Data Science folks.