swap(x,y)

Raymond Dunn ray at philmtl.philips.ca
Wed Sep 20 23:10:55 AEST 1989


In article <4151 at buengc.BU.EDU> bph at buengc.bu.edu (Blair P. Houghton) writes:
>>And by the way: why do you need an operator for swapping?
>
>Because if a machine can do it with a coupla gates and half a cycle,
>I'd like to do it with an operator.

This sounds dangerously like the arguments made by Herman Rubin that 'C'
should provide facilities to access all the functionality of the machine
architecture in some direct way.

Since when was that the goal of *any* language other than assemblers?

Which particular architecture is the source of these language features?
-- 
Ray Dunn.                    | UUCP: ray at philmt.philips.ca
Philips Electronics Ltd.     |       ..!{uunet|philapd|philabs}!philmtl!ray
600 Dr Frederik Philips Blvd | TEL : (514) 744-8200  Ext : 2347 (Phonemail)
St Laurent. Quebec.  H4M 2S9 | FAX : (514) 744-6455  TLX : 05-824090



More information about the Comp.lang.c mailing list