D2 and stream

dsimcha dsimcha at yahoo.com
Mon Aug 9 06:23:55 PDT 2010


== Quote from Steven Schveighoffer (schveiguy at yahoo.com)'s article
> 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?
> -Steve

No, std.stdio uses this.  std.stream uses OS-native APIs at least in some places.


More information about the Digitalmars-d mailing list