Article View: comp.lang.misc
Article #820Re: NOT Educating FORTRAN programmers to use C
From: Wayne Christopher
Date: Sun, 21 Jan 1990 21:42
Date: Sun, 21 Jan 1990 21:42
11 lines
959 bytes
959 bytes
> Fortran permits > optimization of procedure arguments that C must assume are aliased - no > optimizer, no matter how sophisticated, can eliminate this difference. What's wrong with compiling a "safe" version of the function that assumes the arguments are aliased and a "fast" version that assumes they are not, and deciding which one to use at runtime by comparing the arguments? I don't know if any compilers do this, but I've heard the suggestion before. Wayne
Technical Details
Message-ID:
<21318@pasteur.Berkeley.EDU>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!ucbvax!pasteur!yew.Berkeley.EDU!faustusShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!ucbvax!pasteur!yew.Berkeley.EDU!faustus From: faustus@yew.Berkeley.EDU (Wayne Christopher) Newsgroups: comp.lang.misc Subject: Re: NOT Educating FORTRAN programmers to use C Message-ID: <21318@pasteur.Berkeley.EDU> Date: 21 Jan 90 21:42:09 GMT Sender: news@pasteur.Berkeley.EDU Reply-To: faustus@yew.Berkeley.EDU (Wayne Christopher) Organization: University of California at Berkeley Lines: 11