stdio performance in tango, stdlib, and perl

Sean Kelly sean at f4.ca
Thu Mar 22 09:02:42 PDT 2007


Andrei Alexandrescu (See Website For Email) wrote:
> kris wrote:
>>
>> That aside, tango.io appears to be fast enough and simple enough. The 
>> fastest in this case, even, assuming we do something useful about the 
>> CR chop, .newline is adjusted, or "\n" is used instead ;)
> 
> Oh, but I forgot it's cheating: uses read/write so it's incompatible 
> with C's stdio, which phobos is.

If I understand you correctly, you're saying that all IO packages must 
go through the standard C library so they stay in sync with the C IO 
routines?  What is the point of read/write, ReadFile/WriteFile, etc, then?


Sean



More information about the Digitalmars-d mailing list