Use of stdio (Was: how to write () a constant?)

Alastair Dallas awd at dbase.A-T.COM
Sat Jan 20 14:18:49 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.

I don't post in this newsgroup often.  In my world, I'm a C expert, but
this newsgroup is clearly populated by sharks with very sharp teeth--it's
very easy to look stupid or (worse) trivial.  So I treat it as read-only.

I couldn't pass up responding to this, however.  Do you really mean to say
that avoiding stdio carries a disadvantage in speed?  That is, that using
stdio is faster than not using stdio?  My experience has been that stdio
is provided for Unix compatibility only and that most PC and Mac C compiler
libraries provide much faster ways to perform equivalent I/O.  Perhaps
I'm getting all worked up over a typo...

/alastair/



More information about the Comp.lang.c mailing list