Re: Thou shalt have no other gods before the ANSI C standard

From: Tom Linden (tom_at_kednos.com)
Date: 02/28/05


Date: Sun, 27 Feb 2005 17:49:27 -0800

On Sun, 27 Feb 2005 20:22:15 -0500, Douglas A. Gwyn <DAGwyn@null.net>
wrote:

> Tom Linden wrote:
>> Is this better
>
> No, because PL/I "do" has simpler rules from C "for",
> so that it is literally impossible for it to evaluate
> a general conditional expression on each iteration.
> It's not a matter of performing optimization, but of
> merely implementing the more restrictive rules.

In that assertion you are mistaken, the DO statement is actually
far more complex in PL/I, allowing compound clauses.
>
> You won't be able to address the question about what
> optimizations C compilers perform by exhibiting PL/I
> examples.

Doesn't matter whether it is PL/I or C, we were discussing, I
thought, code hoisting in one case strlen and in the other length.

-- 
Using Opera's revolutionary e-mail client: http://www.opera.com/m2/


Relevant Pages

  • Re: Sunday string puzzler
    ... sentence contains numerals, punctuation, or capitalized consonants. ... My statement continues to work no matter what the v array has been ... Because PLI'ers refuse to change the PL/I FAQ which states that PL/I ...
    (comp.lang.pl1)
  • Re: Looking for a copy of Visual Age for PL/I for OS/2 v. 2.1
    ... as likely, or for that matter even just more likely, to use a PL/I ... compiler as compared to Win users. ... What particularly do you think that Linux developers ...
    (comp.lang.pl1)
  • Re: [Announce] FreeVMS 0.1.3
    ... > matter, and put in the extensions need to obviate the need to use ... PL/I. ... There are major structural differences, as well as differences in code ... PL/S is at the same level of abstraction as C. ...
    (comp.os.vms)

Loading