3 ms·
This is crazy. Get over yourself! Whether you like it or not, Fortran is still THE industry standard for scientific codes, and the fastest compiled language on
by adastra22 4y ago
This is crazy. Get over yourself! Whether you like it or not, Fortran is still THE industry standard for scientific codes, and the fastest compiled language on many architectures.
- raoulj 4y agoIn the defense of the SciPy response, while there may be some programming language zealotry behind the position, it seems to be from a lack of expertise in SciPy to maintain its Fortran code that's pushing SciPy to avoid new Fortran additions. Hopefully OP gets PRIMA through! Been admiring this effort, Dr. Zhang.
- ok123456 4y agoF2py, which is already a standard part of numpy, does the heaving lifting and generates idiomatic python wrappers for Fortan code. It's just zealotry of them going "eeew fortran that's like really really old". Fortran got multidimensional dense numeric arrays right. Modern Fortran allows you to do elemental/vectorized operations on them. C does not even come close, and requires tons of preprocessor macros if you try. Every other 'modern' language introduces a bunch of tooling and dependencies just to get where Fortran is, because they just don't have a focus on scientific computing.
- michaelt 4y ago> It's just zealotry of them going "eeew fortran that's like really really old". The developers of SciPy are maintaining a codebase that is 18% fortran, according to [1]. The only language that makes up a larger part of the codebase is python. Don't you think it's possible their opinion on fortran is actually informed by quite a bit of experience? [1] https://github.com/scipy/scipy/ https://github.com/scipy/scipy/
- bouchard 4y agoI don't believe anybody would argue against their reluctance for old FORTRAN 77 code; it's a PITA to deal with. The central issue is that their experience with the old Fortran doesn't translate to modern Fortran; they are two different beasts.
- ok123456 4y agoBuy a copy of plusfort.
- zaikunzhang 4y ago> The central issue is that their experience with the old Fortran doesn't translate to modern Fortran; they are two different beasts. This is so true! I hope anyone could spend a few minutes checking what modern Fortran is before blaming it. A good reference is https://fortran-lang.org/en/ https://fortran-lang.org/en/
- zaikunzhang 4y agoI guess one of the major issues is the compilation and packaging of the Fortran code. It is also my experience when developing PDFO ( https://www.pdfo.net/ https://www.pdfo.net/ ), the predecessor of PRIMA. This is also reflected by the following comment at https://github.com/scipy/scipy/issues/18118#issuecomment-1553273668 https://github.com/scipy/scipy/issues/18118#issuecomment-155... > The real maintenance burden is the compilation and the packaging not the code itself that we are carrying around.
- zaikunzhang 4y agoThank you so much for your encouragement! Such positive feedback means a lot to me.
- cozzyd 4y agoAs long as PRIMA is maintained (which seems likely independently), it's only the bindings that need to be maintained. And it's trivial to write a Fortran interface in C or C++ (perhaps that can be included in PRIMA anyway) and then SciPy can pretend like it's not Fortran...
- asdfman123 4y agoAre you saying they're acting like PRIMA-donnas?