Thread overview | |||||
---|---|---|---|---|---|
|
June 05, 2012 D interface to Fortran | ||||
---|---|---|---|---|
| ||||
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 Re: D interface to Fortran | ||||
---|---|---|---|---|
| ||||
Posted in reply to TJB | 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 Re: D interface to Fortran | ||||
---|---|---|---|---|
| ||||
Posted in reply to TJB | 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 |
Copyright © 1999-2021 by the D Language Foundation