From mboxrd@z Thu Jan 1 00:00:00 1970 Mime-Version: 1.0 (Apple Message framework v753) In-Reply-To: References: Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Pietro Gagliardi Date: Wed, 19 Mar 2008 06:24:39 -0400 To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Subject: Re: [9fans] lies, damn lies and kloc. Topicbox-Message-UUID: 7c4f1ab6-ead3-11e9-9d60-3106f5b1d025 You've also forgotten the yacc file in cc. It still doesn't topple the chart: ; wc -l /sys/src/cmd/^(cc 8c 8l)^/*.[chy]|grep total 29908 total What should be compared is a C++ compiler and the associated libraries. Especially in C++0x! :-P What is the total of all the compilers, assemblers, and linkers put together? ; wc -l /sys/src/cmd/^(?c ?l ?a)^/*.[chyl] /sys/src/cmd/cc/lexbody | grep total 143174 total lexbody is used by the assemblers. On Mar 19, 2008, at 12:26 AM, erik quanstrom wrote: > according the the reference below, c# has more types (39509) > than 8c+8l has lines of code: > > ; wc -l /sys/src/cmd/^(cc 8c 8l)^/*.[ch]|grep total > 28619 total > > perhaps it would be more fair to compare /sys/include. but > that's got less than 8kloc. ; wc -l /sys/include/*.h | grep total 7871 total > > ironicly titled reference: > http://codebetter.com/blogs/patricksmacchia/archive/2008/03/18/ > number-of-types-in-the-net-framework.aspx > > i think rob may have recalled a more enlightened era when > he called oo the roman numerals of computing. > > - erik >