Complete.Org: Mailing Lists: Archives: freeciv-dev: May 2002:
[Freeciv-Dev] Re: Column@Apolyton: #204 Talking with Sid and Soren
Home

[Freeciv-Dev] Re: Column@Apolyton: #204 Talking with Sid and Soren

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: rf13@xxxxxxxxxxxxxxxxxxxxxx
Cc: Freeciv developers <freeciv-dev@xxxxxxxxxxx>
Subject: [Freeciv-Dev] Re: Column@Apolyton: #204 Talking with Sid and Soren
From: Paul Zastoupil <paul@xxxxxxxxxxxxx>
Date: Thu, 16 May 2002 10:27:34 -0700

On Thu, May 16, 2002 at 02:17:52PM +0200, Raimar Falke wrote:
> On Thu, May 16, 2002 at 01:13:43PM +0200, Reinier Post wrote:
> > >         The game is written is C++ and has "hundreds of thousands" of
> > > lines of code. There are 70 or 80 modules and some individual ones have
> > > 10,000 lines plus.
> > 
> > Freeciv:
> > 
> > % find ~/src/freeciv -name '*.[ch]' | wc
> >     616     616   30531
> > 
> > (i.e. 616 .c and .h files)
> > 
> > % find ~/src/freeciv -name '*.[ch]' | xargs cat |  wc | sort -n | tail
> >  213762  612095 6859974
> > 
> > (i.e. 213762 lines of code)
> 
> If freeciv would have 75 modules we would have 213762/75=2850 lines
> per module. This isn't _this_ far from the 10,000+ max case.

Freeciv also runs on almost anything imaginable... I even have a server
running on my watch (ok, not really).  

There are a lot of lines of code dealing with portability :)

-- 
Paul Zastoupil


[Prev in Thread] Current Thread [Next in Thread]