Linux vs. libio
Jeffrey A Law
law@cygnus.com
Mon Dec 20 09:11:00 GMT 1999
In message < m21z8h1rmy.fsf@magnus.bothner.com >you write:
> Jeffrey A Law <law@cygnus.com> writes:
>
> > While I believe it was an unbelievably dumb thing for the glibc folks to
> > tie libio into the C library,
>
> In other words, you don't think it is a reasonable goal to allow C
> stdio FILEs to be shared with C++ iostream streambufs?
> The best way
> to synchronize (say) stdout with cout seems to be for them both to use
> the same buffer. The requires (at least if you want efficiency) for
> them to use compatible data structures, and thus libio has to be tied
> to the C library. (Note: This is not new to glibc; it has been that
> way in Linux for many years.)
I don't really see the need to debate this -- it's a fact of life that we
have to deal with this braindamage. So, let's find a way to deal with it
rather than debating the decision to integrate libio with glibc here.
jeff
More information about the Libc-alpha
mailing list