Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!umich!yale!cmcl2!stealth.acf.nyu.edu!brnstnd From: brnstnd@stealth.acf.nyu.edu Newsgroups: comp.lang.c Subject: avoiding stdio Message-ID: <28888@stealth.acf.nyu.edu> Date: 20 Jan 90 21:35:02 GMT References: <10883@attctc.Dallas.TX.US> <21689@mimsy.umd.edu> Reply-To: brnstnd@stealth.acf.nyu.edu (Dan Bernstein) Distribution: na Organization: IR Lines: 15 X-Original-Subject: Re: how to write () a constant? In article <21689@mimsy.umd.edu> chris@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