From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: <20090718185223.F2A275B18@mail.bitblocks.com> References: <158688033fe375ed6e935e472986d876@quanstro.net> <20090718185223.F2A275B18@mail.bitblocks.com> Date: Sat, 18 Jul 2009 14:32:30 -0500 Message-ID: From: Eric Van Hensbergen 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] channels across machines Topicbox-Message-UUID: 26146e4c-ead5-11e9-9d60-3106f5b1d025 On Sat, Jul 18, 2009 at 1:52 PM, Bakul Shah wrot= e: > > I should've mentioned this won't run on top of plan9 (or > Unix). =A0What I really want is alt! =A0I brought up RPC but > really, this is just Limbo's "chan of " idea. =A0In the > concurrent application where I want to use this, it would > factor out a bunch of stuff and simplify communication. > > The chanconnect(":") syntax was to get the idea > across. =A0A real building block might look something like > this: > > =A0 =A0 =A0 =A0int fd =3D > =A0 =A0 =A0 =A0Chan c =3D fd2chan(fd, ); > getting a pipe end to something somehow is why you really want to leverage the namespace as a 9p file system. : is really a legacy concept that often locks you into a way of thinking or a particular transport. The typed channels (or for that matter file system interfaces) is an interesting topic, and there have been some folks thinking about it, but I'm not sure they are ready to share their thoughts yet. -eric