|
New for 4th Edition
|
|
The original version of Styx was based on Plan 9's 9P, but
stripped of things that were arguably inappropriate outside that
environment. Since then, 9P has changed to 9P2000, and although Walk
is more complicated, the protocol has improvements that are attractive
in the Inferno environment. For instance, names are not
inherently limited to 27 bytes.
We are currently using Inferno with a Styx variant
and device driver interface that is based on 9P2000.
There are consequential
changes in the Sys module.
For instance: file sizes in are big, affecting
seek and Dir.length; Qid includes a qtype field and Qid.path
is big; dirread's interface is a little different;
and CHDIR has become DMDIR.
Thanks to Limbo's provision of a string
type, and its use for user and other names
in the original Sys module, the effects on application source code are surprisingly small.
There is a new Styx module that gives Limbo access to the
protocol messages, and Styxservers and Nametree
modules that help make it straightforward to write new Styx servers in Limbo.
Status: Implemented
|