Re: [wmii] wmii-3 configuration - in Ruby

From: Anselm R. Garbe <garbeam_AT_wmii.de>
Date: Wed, 7 Jun 2006 11:42:02 +0200

On Wed, Jun 07, 2006 at 01:47:13AM -0400, Kris Maglione wrote:
> On Sun, Jun 04, 2006 at 08:39:16PM +0200, Francis GUDIN wrote:
> >Hello,
> >
> >RStyx might help:
> >http://rubyforge.org/projects/rstyx/
>
> I finally looked into this and found it completely unacceptable. Just the
> client, with limited functionality, in pure ruby, is 1,295 lines of ugly
> code. The fully functional lib9pclient from plan9port, in C, is 1,059
> lines of sane code and is probably a hell of a lot faster. To be fair,
> lib9pclient depends on plan9 system headers I'm not counting and some lib9
> functionality, but that's besides the point.

libixp is much smaller than the complete lib9p* dependencies of
Plan9 (which are about 50kSLOC including lib9, if not more). And
libixp/client.c keeps the connection between dial and hangup, I
don't think the client part is a bad API of libixp (however the
server side needs polishing, I always agreed to this).

A sloccount of libixp tells me it consists of 1244 lines, for
everything (socket handling, server/client side, protocol layer,
- only dependency are 173 lines of libcext).
This is 1.5kSLOC vs. 60kSLOC...

Regards,

-- 
 Anselm R. Garbe  ><><  www.ebrag.de  ><><  GPG key: 0D73F361
Received on Wed Jun 07 2006 - 11:42:02 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 16:08:18 UTC