D2 and stream

Lars T. Kyllingstad public at kyllingen.NOSPAMnet
Mon Aug 9 06:01:33 PDT 2010


On Mon, 09 Aug 2010 08:11:54 -0400, Steven Schveighoffer wrote:

> On Sun, 08 Aug 2010 09:35:21 -0400, dsimcha <dsimcha at yahoo.com> wrote:
> 
>> == Quote from Mafi (mafi at example.org)'s article
>>> Hi all,
>>> what are the directions of D2's streams. I heared std.stream is going
>>> to get deprecated in D2. I think it's good as long as
>>> BufferedFile.readLine() returns char[] instead of string. Is D2 going
>>> to get a Java-like stream model? What's wrong with the old one except
>>> that it's a bit out of date?
>>> Mafi
>>
>> Two things off the top of my head:
>>
>> 1.  std.stream doesn't correctly support files > 2GB on 32-bit Linux,
>> and possibly
>> on other OS's as well.
> 
> Doesn't that have to do with using C's FILE * interface?

FILE* isn't used anywhere in std.stream.  You're either thinking of 
std.stdio.File or std.cstream.CFile.

-Lars


More information about the Digitalmars-d mailing list