🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.misc
Article #2110

Re: Whether cc after f2c can optimize arrays as well as f77 can

#2110
From: Dan Bernstein
Date: Fri, 16 Nov 1990 07:43
15 lines
1274 bytes
In article <1990Nov16.042408.21235@murdoch.acc.Virginia.EDU> gl8f@astsun.astro.Virginia.EDU (Greg Lindahl) writes:
> In article <6787:Nov1008:04:0290@kramden.acf.nyu.edu> brnstnd@kramden.acf.nyu.edu (Dan Bernstein) writes:
> > The fact is that C array code can run
> >as quickly as Fortran array code, even if the C compiler doesn't know
> >beforehand that there's no aliasing. 
> The fact is that you had to hand-optimize to get C to do my example fast.

Only for current compilers. With the modifications I've proposed, C
would handle your case. That's the point I've made from the first
article in this thread.

The problem with having discussions around you is that you refuse to pay
attention to what's going on. Then you insult everyone just for fun.

---Dan
Technical Details
Message-ID: <19153:Nov1607:43:5290@kramden.acf.nyu.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!yale!cmcl2!kramden.acf.nyu.edu!brnstnd
References: <5483@lanl.gov> <6787:Nov1008:04:0290@kramden.acf.nyu.edu> <1990Nov16.042408.21235@murdoch.acc.Virginia.EDU>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!yale!cmcl2!kramden.acf.nyu.edu!brnstnd
From: brnstnd@kramden.acf.nyu.edu (Dan Bernstein)
Newsgroups: comp.lang.misc
Subject: Re: Whether cc after f2c can optimize arrays as well as f77 can
Message-ID: <19153:Nov1607:43:5290@kramden.acf.nyu.edu>
Date: 16 Nov 90 07:43:52 GMT
References: <5483@lanl.gov> <6787:Nov1008:04:0290@kramden.acf.nyu.edu> <1990Nov16.042408.21235@murdoch.acc.Virginia.EDU>
Organization: IR
Lines: 15