[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Debian code size



On 03-Nov-1998, Lars Wirzenius <liw@iki.fi> wrote:
> [ Please don't Cc: public replies to me. ]
> 
> In the fast machine was idle and has a Debian source mirror dept.:
> 
> I wrote a trivial script that goes through all the .dsc files in my
> Debian source mirror (hamm and slink mains only), unpacks each package,
> finds all *.c and *.h files and counts the their total size and number
> of lines with wc. The results:
> 
> 		lines	bytes	packages
> 	hamm	37.41	865.713	1116
> 	slink	70.6M	1144.6M	1602

Impressive.

Please note that for a package such as Mercury (which is a compiler +
runtime system largely written in the high level logic language Mercury)
the source package includes *generated* C code -- about a million lines
or 35Mb it.  This is a fair chunk of the total for a single package.

-- 
Those who would give up essential liberty to purchase a little temporary
safety deserve neither liberty nor safety.     - Benjamin Franklin

Tyson Dowd   <tyson@tyse.net>   http://tyse.net


Reply to: