Thread overview
D interface to Fortran
Jun 05, 2012
TJB
Jun 05, 2012
Jonathan M Davis
Jun 05, 2012
sclytrack
June 05, 2012
Is it possible to interace D with Fortran code?  There are old numerical codes that I would prefer to just call directly rather than rewrite them?

Thanks,

TJB
June 05, 2012
On Tuesday, June 05, 2012 06:49:55 TJB wrote:
> Is it possible to interace D with Fortran code?  There are old numerical codes that I would prefer to just call directly rather than rewrite them?

D interfaces with C code (and to some extent C++). C is the lingua franca of the programming world. You should be able to have Fortran and C code interact and have D code interact with the C code, thereby having the C be a bridge between the D and Fortran code. But D code cannot call Fortran code directly.

- Jonathan M Davis
June 05, 2012
On 06/05/2012 06:49 AM, TJB wrote:
> Is it possible to interace D with Fortran code? There are old numerical
> codes that I would prefer to just call directly rather than rewrite them?
>
> Thanks,
>
> TJB

scid

https://github.com/cristicbz/scid