Stream Proposal

Jonathan M Davis jmdavisProg at gmx.com
Fri Mar 11 19:14:21 PST 2011


On Friday, March 11, 2011 18:29:42 dsimcha wrote:
> 3.  std.stdio.File should be moved to the new stream module but publicly
> imported by std.stdio.  It should also grow some primitives that make it
> into an input range of characters.  These can be implemented with
> buffering under the hood for efficiency.

??? Why? File is not a stream. It's a separate thing. I see no reason to combine 
it with streams. I don't think that the separation between std.stdio and 
std.stream as it stands is a problem. The problem is the design of std.stream.

- Jonathan M Davis


More information about the Digitalmars-d mailing list