3 ms·
Actually Fortran works best if you combine Visual Studio with Intel Fortran compiler. You can freely call C from Fortran and viceversa, furthermore Intel's vers
by AlexeyBrin 10y ago
Actually Fortran works best if you combine Visual Studio with Intel Fortran compiler. You can freely call C from Fortran and viceversa, furthermore Intel's versions of BLAS and LAPACK are seriously faster than the reference BLAS and LAPACK you will build yourself on Windows.
It is also possible to link gfortran compiled dll's with C and C++ in Visual Studio. A few years ago I even called a gfortran dll from C# using p-invoke with no particular problem.
- tavert 10y agoOf course you don't build the reference BLAS if you care about performance. But OpenBLAS is quite competitive, and open source. A non-free compiler is a big impediment to build reproducibility and accessibility for new contributors for a large open source project.
- AlexeyBrin 10y ago> A non-free compiler is a big impediment to build reproducibility and accessibility for new contributors for a large open source project. Agree, this is why I've mentioned that you can use Fortran code compiled as a DLL with gfortran (open source) from Visual Studio in C, C++ and C# projects.