From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <545c4c1d03136de6870aae60bf26edb3@vitanuova.com> To: 9fans@cse.psu.edu Subject: Re: [9fans] parallel programming in Plan 9 From: rog@vitanuova.com In-Reply-To: <01600f54e32a3088b1f96a7caec89ca3@plan9.bell-labs.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Date: Thu, 19 Feb 2004 19:18:00 +0000 Topicbox-Message-UUID: ef31e196-eacc-11e9-9e20-41e7f4b1d025 > However if you have to pass > messages twixt programs, it doesn't really help deciding what > the messages should look like or how to marshal them. ... although i've found that using 9p helps focus the mind on to what messages are really necessary, and the conventional textual representation of messages lends itself well to a) ease of explanation/documentation and b) proper separation of interface from implementation on both ends of the connection. this contrasts with RPC-style marshalling where the RPC interface is often taken directly from the procedural interface on the server, which is not necessarily the way that the client would choose to do things. i guess the downside is that if you really do have a method that takes data and in and returns data (not an error indication), you've got 4 messages rather than 2.