From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18978 invoked by alias); 16 Dec 2002 00:29:43 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 18967 invoked from network); 16 Dec 2002 00:29:41 -0000 Received: from unknown (HELO anchor-post-30.mail.demon.net) (194.217.242.88) by sources.redhat.com with SMTP; 16 Dec 2002 00:29:41 -0000 Received: from cenderis.demon.co.uk ([62.49.17.254] helo=localhost) by anchor-post-30.mail.demon.net with esmtp (Exim 3.35 #1) id 18Nj8d-0009Mx-0U; Mon, 16 Dec 2002 00:29:40 +0000 Received: by localhost (Postfix, from userid 1000) id 6E76446A23; Mon, 16 Dec 2002 00:29:36 +0000 (GMT) From: Bruce Stephens To: Linus Torvalds Cc: Pop =?iso-8859-1?q?S=E9bastian?= , Momchil Velikov , , Subject: Re: source mgt. requirements solicitation References: Date: Sun, 15 Dec 2002 16:49:00 -0000 In-Reply-To: (Linus Torvalds's message of "Sun, 15 Dec 2002 15:45:59 -0800 (PST)") Message-ID: <873coy6c27.fsf@cenderis.demon.co.uk> User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2 (i386-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2002-12/txt/msg00848.txt.bz2 Linus Torvalds writes: [...] > That is obviously also why the kernel ends up being a lot of lines of > code. I think it's about an order of magnitude bigger in size than all of > gcc - not because it is an order of magnitude more complex, obviously, but > simply because it has many more parts to it. And that directly translates > to more pieces that people can cut their teeth on. The gcc tree I have seems to have 4145483 lines, whereas the 2.4.20 kernel seems to have 4841227 lines. (Not lines of code; this includes all files in the unbuilt tree (including CVS directories for gcc, although this is probably trivial), and it includes comments and files which are not code. In the gcc case, it may include some generated files; I'm not sure how Ada builds nowadays.) Excluding the gcc testsuites, gcc has 3848080 lines. So gcc (the whole of gcc, with all its languages) seems to be a bit smaller than the kernel, but probably not by an order of magnitude. This is reenforced by "du -s": the gcc tree takes up 187144K, the kernel takes up 170676K. None of this is particularly precise, obviously, but it points to the two projects (with all their combined bits) being not too dissimilar in size. Which is a possibly interesting coincidence. (The 2.5 kernel may be much bigger; I haven't looked. The tarballs don't look *that* much bigger, however.) [...]