On Mon, 2010-10-11 at 23:17 +0200, Philipp Thomas wrote:
On Mon, 11 Oct 2010 08:09:01 +0200, Roger Oberholtzer
wrote: I do confess to be confused about why you considered it to be good for serial lines and not TCP/IP. Granted TCP/IP offers more variations than a serial line, and that could make implementation of stream modules more complicated. But that does not mean the streams concept was wrong.
First of all documentation:
1) http://cm.bell-labs.com/cm/cs/who/dmr/st.html is the original paper from Dennis Ritchie describing streams.
2) The document describing the Linux implementation: http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.55.1500&rep=rep1&type=pdf
SVR4 streams suck extremely performance wise. Those performance penalties were accetable for the rather slow serial lines but weren't for networks.
I can see that bad performance on a network would be more noticeable than on a serial port. But I would conclude that streams are generally bad. To be clear, I was not extolling the virtues of streams over sockets. I saw an analogy to a feature I was interested in. Performance is always a concern for me, as I do near-real-time programming (whatever that is...) so streams (as implemented in SVR4 - not as a concept) would probably not fit the bill. Still, this has been an interesting discussion. -- Roger Oberholtzer OPQ Systems / Ramböll RST Ramböll Sverige AB Krukmakargatan 21 P.O. Box 17009 SE-104 62 Stockholm, Sweden Office: Int +46 10-615 60 20 Mobile: Int +46 70-815 1696 -- To unsubscribe, e-mail: opensuse-programming+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-programming+help@opensuse.org