Le 13/10/2022 à 20:41, Beliavsky a écrit :
>
> a lot of them include modernized code from the libraries written decades ago. The codes still work great (polyroots-fortran contains a modernized version of a routine written 50 years old), but they just needed a little bit of cleanup and polish to be presentable to modern programmers
Actually I don't the point updating legacy code, even if it is
fixed-form pure F77, unless one wants to add new features/options/etc...
Especially when the authors also writes:
"[Fortran] is great for technical and numerical codes that need to run
fast and are intended to be used for decades. The libraries listed above
will not stop working in a few years. An extremely complicated Fortran
application can be recompiled with just a Fortran compiler. You cannot
say the same for anything written in the Python scientific ecosystem,
which is a Frankenstein hybrid of a scripting language hacked together
with a pile of C/C++/Fortran libraries compiled by somebody else. Good
luck trying to run Python you write now 20 years from now (or trying to
run something written 20 years ago)."
Which is true... In fact all Fortran evolution is tied to be able to
continue using legacy codes without constantly having to update them.
Hence "what's the point updating them?".
What the legacy libraries deserve are modern interfaces and possibly
wrappers, which does not require updating the core codes.
--
"...sois ouvert aux idées des autres pour peu qu'elles aillent dans le
même sens que les tiennes.", ST sur fr.bio.medecine
ST passe le mur du çon : <
j3nn2h...@mid.individual.net>