New Ruby implementation: r9p

20 views
Skip to first unread message

Kris Maglione

unread,
Mar 21, 2007, 3:13:15 PM3/21/07
to 9p-ha...@groups.google.com
I've written a new 9P client implementation in Ruby, mainly because I
was unhappy about the GPLd status of Ruby-IXP, and the unnecessary
bloat/ugliness of rstyx. It has all of the basic features you'd expect
from a 9P client, plus the ability to launch a proxy thread to give
you the standard functions of the IO class. It is also threadsafe,
though it works fine in a non-threaded VM.

It's available here:
http://www.suckless.org/wiki/libs/r9p

though it is not linked from the 9p-implementations page, because
Uriel is a moron and refuses to link it until I post to this list.

A server implementation may be forthcoming.

forsyth

unread,
Mar 21, 2007, 4:52:53 PM3/21/07
to 9p-hackers
i wondered if it might be useful to keep track of how long it
took to do particular clients (we could average them later to reduce
the apples-and-oranges aspect). i was trying to work out how
long i'd taken on the first cut of my java client, given that
i'd never suffered Java before and was looking up library classes
on demand in the Java in a Nutshell book. (it's quite a big
nutshell.)
i don't know the values yet (i'm trying to work it out from history),
but i thought i'd mention it now, so that people that have just done
them have a better chance.

forsyth

unread,
Mar 21, 2007, 5:00:58 PM3/21/07
to 9p-hackers
pretty. i must revisit my java one.

On Mar 21, 7:13 pm, "Kris Maglione" <fbsdae...@gmail.com> wrote:
>

Kris Maglione

unread,
Mar 21, 2007, 11:09:22 PM3/21/07
to 9p-ha...@googlegroups.com
On 3/21/07, forsyth <Charles...@gmail.com> wrote:
i wondered if it might be useful to keep track of how long it
took to do particular clients (we could average them later to reduce
the apples-and-oranges aspect).
 
I've mentioned this elsewhere to students interested in writing implementations. The ruby version took me about 2 days, and it's the first thing I've seriously written in ruby, although I had some knowledge of the language beforehand.

I don't envy you the task of writing an implementation in Java.
Reply all
Reply to author
Forward
0 new messages