using standard interfaces (was: Re: Explanation, please!)

T. William Wells bill at proxftl.UUCP
Sun Sep 18 19:30:45 AEST 1988


In article <7076 at bloom-beacon.MIT.EDU> scs at adam.pika.mit.edu (Steve Summit) writes:
: A while back, somebody wrote (explaining why they hadn't and/or
: wouldn't use a newly standardized function):
:
:       I doubt that memcpy even existed then; and it is *not* standard
:       now.  Perhaps it will be several years after the ANSI standard is
:       adopted, but not till then.

That was me talking.  And you have the story wrong.  Duff wrote
an unrolled loop some time in the past to do approximately what
memcpy does, inline, before memcpy was generally available;
moreover, the circumstances were such that even if these routines
had been available, it wouldn't have been good programming for
him to use them.

Please avoid taking things out of context.

---
Bill
novavax!proxftl!bill



More information about the Comp.lang.c mailing list