Re: Subroutine API: derived type or long argument lists
Jan Vorbrüggen <jvorbrueggen-not@mediasec.de> wrote:
[about the use of derived types]
> > d.1) complicated (or impossible) cross-language calls.
>
> Impossible only, I believe, if your compiler "unpredictably" orders
> or pads the data structure when optimizing. Fortran's SEQUENCE isn't
> quite good enough, theoretically, to prevent that (IIUC) - but I don't
> believe this is a big problem in practice.
Note that BIND(C) in f2003 specifically addresses this.
--
Richard Maine | Good judgment comes from experience;
email: my first.last at org.domain| experience comes from bad judgment.
org: nasa, domain: gov | -- Mark Twain
|