std.stream and std.stdio
Lars T. Kyllingstad
public at kyllingen.NOSPAMnet
Wed Apr 7 01:56:17 PDT 2010
biozic wrote:
> Is there a plan to deprecate part of (or all of) std.stream in favor of
> new Range-implemented streams as in std.stdio? A confusing point is that
> the documentation says nothing about the redundancy of std.stdio.File
> and std.stream.File. Another one is that stdin/out/err aren't Streams.
> Also, in a recent thread, a promising byLine-readable socket IO
> implementations was favored instead of std.socketstream.
>
> Thanks,
> Nicolas.
I believe std.stream is scheduled for deprecation in the not-too-distant
future, so new code should use std.stdio.File.
I also find the socket IO implementation to which you are referring
(Adam Ruppe's, right?) very promising. I hope it is adopted into
Phobos. After having used std.stdio.File for a while now, I've really
come to like its interface. I hope Andrei succeeds in uniting streams
and ranges.
-Lars
More information about the Digitalmars-d
mailing list