From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=BAYES_00,INVALID_DATE autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,b386f2cc2e9ff212 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 1994-11-01 13:47:23 PST Path: nntp.gmd.de!xlink.net!howland.reston.ans.net!swrinde!ihnp4.ucsd.edu!network.ucsd.edu!mbk From: mbk@inls1.ucsd.edu (Matt Kennel) Newsgroups: comp.lang.ada Subject: Re: Interfaces.Ada Date: 1 Nov 1994 21:04:13 GMT Organization: Institute For Nonlinear Science, UCSD Message-ID: <396agd$9bt@network.ucsd.edu> References: <39602v$3rl@felix.seas.gwu.edu> NNTP-Posting-Host: lyapunov.ucsd.edu X-Newsreader: TIN [version 1.1 PL8] Date: 1994-11-01T21:04:13+00:00 List-Id: Michael Feldman (mfeldman@seas.gwu.edu) wrote: : >will work)? I am using Sun Sparc. Thank you. : I think Robert Dewar has commented on the best way (currently) to : interface Fortran programs to GNAT. Interfaces.Fortran, and especially : the data structures interface - which will provide column-mapped : multi-dimensional arrays, etc. simply has not been implemented yet. I've always wondered about one thing: When people make new langauges why do they implement the C storage layout for multi-dimensional arrays instead of that of Fortran? E.g. as it seems, Ada9x, Modula-3. Given that most matrix algorithms are in Fortran why be backwards? (and ones in C usually use some sort of non-compatible dope-vector thing anyway because C doesn't have variable matrix sizes.) Why not make the default just like Fortran? I don't think one way is particularly more "natural" than the other so now that Fortran chose one convention why not stay with it? The only thing I can figure out is that it is a childish attitude like "bleah fortran sucks so we'll be different". I don't believe this is true so what is the real reason? Is it that compelling? : Mike Feldman -- -Matt Kennel mbk@inls1.ucsd.edu -Institute for Nonlinear Science, University of California, San Diego -*** AD: Archive for nonlinear dynamics papers & programs: FTP to -*** lyapunov.ucsd.edu, username "anonymous".