On 2011-09-04 16:08:47 +0000, Steven Schveighoffer <schvei...@yahoo.com> said:

Michel Fortin Wrote:

On 2011-09-04 12:57:06 +0000, Andrei Alexandrescu
<seewebsiteforem...@erdani.org> said:

On 9/4/11 7:10 AM, Michel Fortin wrote:
And also, I doubt using D IO by default will break printf that much: I
mean if C IO is used to print lines, those lines will be flushed as
they're emitted, with no possible weird interleaving unless the line is
really too long.

No, things are more complex; the interference will be major unless
explicitly addressed.

That doesn't really help understand the issue, you're just making it
more obscure.

You are assuming each write flushes the buffer. That's not always the case.

Not exactly. I am assuming each write flushes the buffer __up to the last newline__, and that most writes ends with \n in a use case where you'd be intermixing the IO systems. That's what I read somewhere else in this discussion, but maybe I read it wrong.

--
Michel Fortin
michel.for...@michelf.com
http://michelf.com/

Reply via email to