Phobos Wish List/Next in Review Queue?

Steven Schveighoffer schveiguy at yahoo.com
Sat Nov 26 05:46:22 PST 2011


On Wed, 23 Nov 2011 21:26:45 -0500, Walter Bright  
<newshound2 at digitalmars.com> wrote:

> On 11/19/2011 7:02 PM, dsimcha wrote:
>> * Streams. (Another item where the bottleneck is mostly at the design  
>> level and
>> people not really knowing what they want.)
>
> I'm not sure what the purpose of streams would be, now that we have  
> ranges.

We still need streams for low-level i/o.  e.g. FILE * is a stream.

ranges are good for high-level concepts, like a range of lines from a  
stream.  Or a range of XML nodes.  Ranges are not good for reading N bytes  
 from a file descriptor.

-Steve


More information about the Digitalmars-d mailing list