[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ANNOUNCE] Introducing Codezero
From: |
Ludovic Courtès |
Subject: |
Re: [ANNOUNCE] Introducing Codezero |
Date: |
Sat, 04 Jul 2009 01:40:03 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) |
Hi,
Bahadir Balban <address@hidden> writes:
[...]
> One could have "ctl" and "data" files as in Plan 9, to implement
> driver control and data flow (or use extensible file attributes)
>
> File-based API should work for most services such as communication
> protocols, drivers, console etc. Please elaborate on why you oppose it.
I suppose Bas is referring to the fact that Plan 9 ends up doing a lot
of possibly costly marshalling/unmarshalling on `ctl' nodes (see [0] for
an example).
Compare this with the Hurd/MiG approach where an RPC is encoded in a
compact binary form, which is more amenable to optimizations.
Thanks,
Ludo'.
[0] http://swtch.com/usr/local/plan9/src/cmd/auth/factotum/ctl.c
Re: [ANNOUNCE] Introducing Codezero, olafBuddenhagen, 2009/07/10