9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Pietro Gagliardi <pietro10@mac.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] lies, damn lies and kloc.
Date: Wed, 19 Mar 2008 06:24:39 -0400	[thread overview]
Message-ID: <D1C7E54D-94D7-4FA9-9523-90BCEA567B79@mac.com> (raw)
In-Reply-To: <dc3547540b82482951355caeff97adc7@quanstro.net>

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
>



      parent reply	other threads:[~2008-03-19 10:24 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-19  4:26 erik quanstrom
2008-03-19  7:53 ` Bruce Ellis
2008-03-19 10:24 ` Pietro Gagliardi [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=D1C7E54D-94D7-4FA9-9523-90BCEA567B79@mac.com \
    --to=pietro10@mac.com \
    --cc=9fans@9fans.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).