[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]
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
[Freeciv-Dev] Re: Column@Apolyton: #204 Talking with Sid and Soren, Raimar Falke, 2002/05/16
- [Freeciv-Dev] Re: Column@Apolyton: #204 Talking with Sid and Soren,
Paul Zastoupil <=
|
|