I has already been done.
Look for it in "sources"...
(But I don't see a good reason to use it/ do it again)
Cheers!
What would be the difficulties if someone wishes to port X to Plan 9
and wants to see it running independently of rio? Any ideas, from
technical point of view?