Re: [dwm] [discuss] Tiny C Compiler

From: pancake <pancake_AT_youterm.com>
Date: Wed, 17 Oct 2007 15:37:11 +0200

Yup, i am the maintainer of this compiler in pkgsrc since 2003.

The projects looks like a bit stopped but I like it very much then and now.
The scripting feature is quite cool and nice for some things like
parsing raw structures from the shell and similar things when the
compilation stage is senseless or molest.

AFAIK it can compile Linux, but i didn't had a try. Maybe together with
pcc it can raise a new lightweight C compiler era ;)

About tcc.. i wanted to say that the assembly generated is quite
cleaner than the GCC one. so this doesn't means to be as optimal as in GCC
but performs quite ok and the code is clenaer.

--pancake

On Wed, Oct 17, 2007 at 11:36:06AM +0000, Jonas Pfenniger wrote:
> Hello,
>
> yesterday, I discovered tcc[1,2]. It is advertised as really fast but
> most of software only compile with GCC so I tried it with dwm. I don't
> have the numbers here but the compilation it is more than two times
> faster ! I know, dwm is so small that it is not really indicative but
> I tough some people here might be interested.
>
> Some funny trick is that tcc supports script mode with the shebang. I
> didn't try it yet, but I think that dwm could be automatically
> compiled at each startup.
>
> --
> Cheers,
> zimbatm
>
> [1] : http://fabrice.bellard.free.fr/tcc/
> [2] : http://en.wikipedia.org/wiki/Tiny_C_Compiler
>
Received on Wed Oct 17 2007 - 13:55:31 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:00:06 UTC