Re: Fortran vs. C (was Re: Ken & Klaus.)

From: Shmuel (Seymour J.) Metz (spamtrap_at_library.lspace.org.invalid)
Date: 09/24/04


Date: Fri, 24 Sep 2004 00:29:15 -0300

begin In <f76c1166.0409201050.1d7bd2b@posting.google.com>, on
09/20/2004
   at 11:50 AM, nessuno@wigner.berkeley.edu (nessuno) said:

>Sounds like from what you have above that Fortran 95 passes length
>arguments along with array pointers. Sort of like what PL/I used to
>do with strings (they were called "dope vectors", i.e., the
>structures containing the length and pointer to the actual
>string).

Dope vectors were PL/I (F) technology; later PL/I compilers used
separate locators and descriptors, so that arrays with the same shape
could share the descriptor.

>So in an ideal world, we'd have just one language for
>both scientific programming and everything else.

That was the intent with PL/I. I'm hoping that the PL/I front end to
gcc flies.

-- 
Shmuel (Seymour J.) Metz, SysProg and JOAT  <http://patriot.net/~shmuel>
Unsolicited bulk E-mail subject to legal action.  I reserve the
right to publicly post or ridicule any abusive E-mail.  Reply to
domain Patriot dot net user shmuel+news to contact me.  Do not
reply to spamtrap@library.lspace.org


Relevant Pages

  • Re: Fortran vs. C (was Re: Ken & Klaus.)
    ... >arguments along with array pointers. ... Dope vectors were PL/I technology; ... separate locators and descriptors, so that arrays with the same shape ... Unsolicited bulk E-mail subject to legal action. ...
    (sci.physics)
  • Re: [Announce] FreeVMS 0.1.3
    ... but the marginal inherent safety advantage PL/I ... > seems to offer is based on descriptors, ... concerned with a variety of control blocks, ...
    (comp.os.vms)
  • Re: Fortran vs. C (was Re: Ken & Klaus.)
    ... JOVIAL, NELLIAC, PL/I, PL/S and quite a few others. ... Unsolicited bulk E-mail subject to legal action. ...
    (sci.physics)
  • Re: Fortran vs. C (was Re: Ken & Klaus.)
    ... JOVIAL, NELLIAC, PL/I, PL/S and quite a few others. ... Unsolicited bulk E-mail subject to legal action. ...
    (comp.os.linux.development.apps)
  • Re: IBM2209I : SEVERE
    ... In PL/I arguments are passed by reference by default and descriptors ... All IBM PL/I compilers have required that string lengths, ... compiler did not flag this error then the compiler had a bug. ...
    (comp.lang.pl1)

Loading