🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.misc
Article #2138

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

#2138
From: Greg Lindahl
Date: Fri, 16 Nov 1990 04:24
14 lines
1206 bytes
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.

> I'm not saying that either language
>is perfect; just that Fortran doesn't have a big advantage over C here.

The fact is that not having to hand-optimize is an advantage.

See what I mean, Dan?
Technical Details
Message-ID: <1990Nov16.042408.21235@murdoch.acc.Virginia.EDU>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!zephyr.ens.tek.com!uw-beaver!mit-eddie!mintaka!think.com!zaphod.mps.ohio-state.edu!wuarchive!emory!gatech!mcnc!uvaarpa!murdoch!astsun.astro.Virginia.EDU!gl8f
References: <23333:Nov904:43:1390@kramden.acf.nyu.edu> <5483@lanl.gov> <6787:Nov1008:04:0290@kramden.acf.nyu.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!zephyr.ens.tek.com!uw-beaver!mit-eddie!mintaka!think.com!zaphod.mps.ohio-state.edu!wuarchive!emory!gatech!mcnc!uvaarpa!murdoch!astsun.astro.Virginia.EDU!gl8f
From: gl8f@astsun.astro.Virginia.EDU (Greg Lindahl)
Newsgroups: comp.lang.misc
Subject: Re: Whether cc after f2c can optimize arrays as well as f77 can
Message-ID: <1990Nov16.042408.21235@murdoch.acc.Virginia.EDU>
Date: 16 Nov 90 04:24:08 GMT
References: <23333:Nov904:43:1390@kramden.acf.nyu.edu> <5483@lanl.gov> <6787:Nov1008:04:0290@kramden.acf.nyu.edu>
Sender: news@murdoch.acc.Virginia.EDU
Organization: Department of Astronomy, University of Virginia
Lines: 14