Pure Functions (was Re: C optimizer)
Dik T. Winter
dik at cwi.nl
Fri Feb 17 12:09:22 AEST 1989
In article <50915 at yale-celray.yale.UUCP> wald-david at CS.YALE.EDU (david wald) writes:
> Point taken, but we still need a way to describe the difficulty with
> treating sleep() as a pure function.
No problem, it performs a system call. (And if you code sleep as a loop
without system call the compiler will be able to optimize it away.)
--
dik t. winter, cwi, amsterdam, nederland
INTERNET : dik at cwi.nl
BITNET/EARN: dik at mcvax
More information about the Comp.lang.c
mailing list