|
|
|
|
|
by ok123456
1133 days ago
|
|
F2py, 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. |
|
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/