Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10 beta 3/9/83; site sdcrdcf.UUCP Path: utzoo!watmath!clyde!akgua!sdcrdcf!lwall From: lwall@sdcrdcf.UUCP (Larry Wall) Newsgroups: net.lang.c Subject: Re: Can ANSI Standard C be "Optimized" Message-ID: <915@sdcrdcf.UUCP> Date: Thu, 15-Mar-84 13:54:44 EST Article-I.D.: sdcrdcf.915 Posted: Thu Mar 15 13:54:44 1984 Date-Received: Sat, 17-Mar-84 04:02:15 EST References: <6061@decwrl.UUCP> <404@decvax.UUCP> <139@homxa.UUCP> Reply-To: lwall@sdcrdcf.UUCP (Larry Wall) Organization: System Development Corporation, Santa Monica Lines: 24 In article <139@homxa.UUCP> wcs@homxa.UUCP (Bill Stewart) writes: > >In general, anything that has side-effects makes optimization >dangerous; assigning a value to *ptr may change the value of any >variable that ptr could point to. This may be why the standard >limits optimization to very narrow locations, and is one reason why >overprotective languages like ADA(tm) or Modula-2 have their devotees. I don't think Ada(r) is overly protective--you can still cheat; it's just not the default like in C. :-) And who was ADA? I always thought her name was Ada. >"The first major program written in ADA will be a COBOL interpreter." Nonsense. The first major program written in Ada will be (is?) an Ada compiler. Now if you don't think an Ada compiler is a major program you've been out chasing wombats. And if you think a COBOL interpreter is equivalent to an Ada compiler, you *should* be out chasing wombats. Fullname'(GIVEN => "Larry", SUR => "Wall") {allegra,burdvax,cbosgd,hplabs,ihnp4,sdcsvax}!sdcrdcf!lwall P.S. Ya don't gotta say "(char *)NULL" in Ada. Nyaa nyaa!