Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Modern LAPACK already comes with an official C binding, LAPACKE: http://www.netlib.org/lapack/lapacke.html

The C ABI is pretty stable, so if you're using LAPACKE you shouldn't need to worry about which Fortran compiler was used to compile LAPACK.

Other than that, AFAIK the most common name mangling these days is lowercasing + trailing underscore. That being said, for "modern Fortran" with modules, OOP etc. the issues are vastly more complex and AFAICS there is no commonly agreed upon ABI.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: