[TUHS] Unix APIs: elegant or not?

Bakul Shah bakul at bitblocks.com
Fri Nov 2 15:24:27 AEST 2018


On Thu, 01 Nov 2018 09:48:38 -0700 ron minnich <rminnich at gmail.com> wrote:
>
> On Thu, Nov 1, 2018 at 9:44 AM Warner Losh <imp at bsdimp.com> wrote:
> >
> > There's another school of thought too that says the kernel has no business
> > parsing strings with all the security implications of doing so...

Which is more a function of C. A proper string type might've
helped. I would argue it is *easier* to debug string based
stuff than all those ioctls using magic numbers replaced with
#defines.

> And, further, that network architecture I referenced is much less efficient
> than the BSD model -- 5 system calls per accept! so that was starting to
> hit us here on the Akaros project, since we imported the entire Plan 9
> network stack into akaros, along with the drivers. Linux left us in the
> dust on network connections/second. We were going to change it had Akaros
> continued.

What sort of changes were you contemplating?

I view(ed) 9p more as a prototype.



More information about the TUHS mailing list