🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c++
Article #2225

Re: F90 vs C++/C, optimization question?

#2225
From: David Vandevoorde
Date: Tue, 17 Oct 1995 08:51
26 lines
1822 bytes
>>>>> "BL" == Bill Leonard <bill@amber.ssd.hcsc.com> writes:
[...]
James Kanze:
>> There is a proposed extention to C which would do it, a sort of son of
>> noalias.  I don't know any of the details, but I'm sure that a question
>> in comp.std.c would reach people who did, or who could point you in the
>> right direction.

BL> I continue to think such extensions are a bad idea.  They basically force
BL> the compiler to trust the programmer, and historically that is not a
BL> reliable thing to do.
[...]

Note that James was not talking about `noalias', but about `restrict'.
I don't doubt restricted pointers can be misused or abused and hence
lead to trouble; so can many features of C and C++. I'm not sure I
totally with your view of history though: trusting the programmer is
often pragmatically essential.

Scientific computing in C++ could sure use the extra cycles...

	Daveed
---
[ comp.std.c++ is moderated.  Submission address: std-c++@ncar.ucar.edu.
  Contact address: std-c++-request@ncar.ucar.edu.  The moderation policy
  is summarized in http://dogbert.lbl.gov/~matt/std-c++/policy.html. ]
Technical Details
Message-ID: <VANDEVOD.95Oct16203840@avs.cs.rpi.edu>
Path: arc1-ca.pugleaf.net!in1.uu.net!bounce-back
References: <45ld1i$m7i@cicg-communication.grenet.fr> <45o2n2$o48@gabi.gabi-soft.fr> <45tq00$dkd@hawk.hcsc.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!in1.uu.net!bounce-back
Date: 17 Oct 95 08:51:50 GMT
Approved: fjh@cs.mu.oz.au
From: vandevod@cs.rpi.edu (David Vandevoorde)
Newsgroups: comp.std.c++
Subject: Re: F90 vs C++/C, optimization question?
X-Original-Date: 17 Oct 1995 00:38:40 GMT
Organization: RPI Computer Science
Message-ID: <VANDEVOD.95Oct16203840@avs.cs.rpi.edu>
References: <45ld1i$m7i@cicg-communication.grenet.fr> <45o2n2$o48@gabi.gabi-soft.fr>
 <45tq00$dkd@hawk.hcsc.com>
In-Reply-To: bill@amber.ssd.hcsc.com's message of 16 Oct 1995 15:04:20 GMT
X-Auth: PGPMoose V1.1 PGP comp.std.c++
 iQBFAgUBMINutuEDnX0m9pzZAQEY0wF6Aj8m+3kG2KtP0OTHiiJJSlpOlwYRpPK5
 m8TTudOo6UxuEuqMbyAOEF3kyTPFk+9/
 =tbkj