Re: [dev] Suckless unit testing in C?

From: Roberto E. Vargas Caballero <>
Date: Thu, 26 Feb 2015 09:42:39 +0100

> student. Would it be possible or desirable to make any of the
> suckless tools/programs to suck even less by writing them to use
> netcat or inetd and removing all network-specific code? Do one thing
> and do it well? Is Plan 9 the logical extreme of this practice?

Depend. This is always the answer.

There are cases where the network code is the central part of the
program, like for example identd, but there are other cases where the
best option is to create a textual protocol, and use nc/inetd, like
the case of ftp/http.

Of course, if you need high performance (that is not the common), you
can not rely in nc/inetd solutions, but you can begin with somethig
simple and create the complex solution only when you need it. This is
also part of the Unix philosophy.

Received on Thu Feb 26 2015 - 09:42:39 CET

This archive was generated by hypermail 2.3.0 : Thu Feb 26 2015 - 09:48:06 CET