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,b19fa62fdce575f9 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 1994-12-05 22:01:35 PST Path: bga.com!news.sprintlink.net!howland.reston.ans.net!spool.mu.edu!uwm.edu!msunews!harbinger.cc.monash.edu.au!aggedor.rmit.EDU.AU!goanna.cs.rmit.oz.au!not-for-mail From: ok@goanna.cs.rmit.oz.au (Richard A. O'Keefe) Newsgroups: comp.lang.ada Subject: Re: Why don't large companies use Ada? Date: 6 Dec 1994 15:53:39 +1100 Organization: Comp Sci, RMIT, Melbourne, Australia Distribution: y Message-ID: <3c0qoj$g8e@goanna.cs.rmit.oz.au> References: <3bcntp$dgj@gnat.cs.nyu.edu> <3bmb4r$9kc@gnat.cs.nyu.edu> <3bo4il$3lb@felix.seas.gwu.edu> <3btgfs$m8c@felix.seas.gwu.edu> NNTP-Posting-Host: goanna.cs.rmit.oz.au NNTP-Posting-User: ok Date: 1994-12-06T15:53:39+11:00 List-Id: mfeldman@seas.gwu.edu (Michael Feldman) writes: >Yes, that's true. The transposition is mental. >In my experience, interfacing between languages - certainly for the >kind of fairly simple vector/matrix interfaces the typical Fortranner >would use (the _subprograms_ aren't simple but the _interfaces_ >tend to be) - is, to a very large extent,a matter of getting the >data structures to agree. I haven't used many PL/I compilers, but they all had "iSUB defining". I never used that feature myself, but you could describe it as exposing the linear subscript mapping at the source level. The result is that you could have a direct and a transposed view of the _same_ array. I would have thought that made it fairly easy to interface PL/I to Fortran. PL/I had, back in the 70's when I met it, a great many data types that would not have mapped onto Fortran, but every Fortran variable _could_ be mapped into PL/I more or less directly (with the aid of iSUB defining for >=2-dimensional arrays). -- "The complex-type shall be a simple-type." ISO 10206:1991 (Extended Pascal) Richard A. O'Keefe; http://www.cs.rmit.edu.au/~ok; RMIT Comp.Sci.