From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: <7667f336f8ad5ad9b10d8612d6014c7b@gandalf.orthanc.ca> References: <36ae46f3a656c0a71bbb5ef794532c5e@gmx.de> <7667f336f8ad5ad9b10d8612d6014c7b@gandalf.orthanc.ca> Date: Sat, 8 Jan 2011 18:42:33 -0800 Message-ID: From: ron minnich To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: [9fans] Streaming 9P is out Topicbox-Message-UUID: 929aec52-ead6-11e9-9d60-3106f5b1d025 On Sat, Jan 8, 2011 at 6:24 PM, Lyndon Nerenberg (VE6BBM/VE7TFX) wrote: >> thinking about it... why not just let stream() fail and let the program >> decide if it makes sense to continue without it? > > Exactly what I was thinking. =A0If the program requires the semantics of > stream(), it should be able to reliably discover when they aren't > available. I prefer John's approach. It's a trivial change and doesn't require most programmers to think too hard. Bear in mind that if you don't want to use John's functions, you don't have to: all those decisions are made at library level. Streaming is available whether or not you use his "client" functions. But rather than talk this to death, the best bet is to try it out and see. A good first cut is to pick a bunch of programs, mod them to use streams, and we can see which approach makes the most sense. Learn By Doing. ron