avoiding stdio

brnstnd at stealth.acf.nyu.edu brnstnd at stealth.acf.nyu.edu
Sun Jan 21 08:35:02 AEST 1990


In article <21689 at mimsy.umd.edu> chris at mimsy.umd.edu (Chris Torek) writes:
> In most cases, there is a definite disadvantage in speed in avoiding stdio.

What Chris means is that in most cases, there is a definite disadvantage
in speed in avoiding buffering. There's also a definite disadvantage in
programmer time in rewriting all the standard libraries.

There is, however, a definite advantage in speed in using the facilities
of the operating system without stdio to get in the way. I have several
programs that run twice as fast because they avoid stdio and do their
own buffering.

By the way, Chris, will the new BSD stdio have a working putc(c,*f++)?

---Dan



More information about the Comp.lang.c mailing list