Wanna do something?

Andrew C. Greenberg werdna at gate.net
Sun Jun 18 23:04:48 UTC 2000


It seems to me that these requirement require substantial out-flushing.

>Redo Streams hierarchy
>
>   Make internal and external stream.  Internal the old ones, 
>external streams use an ioaccessor object to implement the normal 
>stream protocol for files, sockets, pipes etc.

Please define "normal stream protocol"

>Make text (former ascii) and binary stream.  Text stream need always 
>to be able to work with all kinds of cr/lf conventions.

Please define "always to be able to work with all kinds of cr/lf conventions"

>Binary stream will do no conversion.  Make a third source stream for 
>smalltalk sources to make sure that these are always written with a 
>single CR.

I have thought for some time that a new notion of streaming might be 
useful, that did not distinguish its underlying media -- in 
particular one that worked equally well with files, pipes, internet 
protocols and so forth.  It would be nice if its creation/opening and 
such was based upon a more or less uniform object tree, which could 
be opened and closed, mounted and joined, protected and secured, 
perhaps along the lines of Inferno/Plan 9.

Meanwhile, I have grown quite fond of the "traditional" stream model, 
and see little reason why it should not be maintained or extended to 
handle the more general external descriptor and driver strcuture, 
rather than supplanted with some "normal stream protocol" model.

But that's just me.
-- 
Andrew C. Greenberg		acg at netwolves.com
V.P. Eng., R&D, 		813.885.2779 (office)
Netwolves Corporation		813.885.2380 (facsimile)
www.netwolves.com

Please use werdna at mucow.com instead of werdna at gate.net





More information about the Squeak-dev mailing list