comp.lang.ada
 help / color / mirror / Atom feed
From: mbk@inls1.ucsd.edu (Matt Kennel)
Subject: Re: Interfaces.Ada
Date: 1 Nov 1994 21:04:13 GMT
Date: 1994-11-01T21:04:13+00:00	[thread overview]
Message-ID: <396agd$9bt@network.ucsd.edu> (raw)
In-Reply-To: 39602v$3rl@felix.seas.gwu.edu

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".



  reply	other threads:[~1994-11-01 21:04 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1994-10-31 15:33 Interfaces.Ada Kyongsuk Pace
1994-11-01 18:06 ` Interfaces.Ada Michael Feldman
1994-11-01 21:04   ` Matt Kennel [this message]
1994-11-02  6:24     ` Interfaces.Ada Tucker Taft
1994-11-02 13:55     ` Interfaces.Ada Mats Weber
1994-11-02 16:14     ` Interfaces.Ada Stephen J Bevan
1994-11-03 11:18     ` Interfaces.Ada Robert Dewar
1994-11-05  3:14       ` Interfaces.Ada Michael Feldman
1994-11-03 11:15   ` Interfaces.Ada Robert Dewar
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox