9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] lies, damn lies and kloc.
@ 2008-03-19  4:26 erik quanstrom
  2008-03-19  7:53 ` Bruce Ellis
  2008-03-19 10:24 ` Pietro Gagliardi
  0 siblings, 2 replies; 3+ messages in thread
From: erik quanstrom @ 2008-03-19  4:26 UTC (permalink / raw)
  To: 9fans

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.

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [9fans] lies, damn lies and kloc.
  2008-03-19  4:26 [9fans] lies, damn lies and kloc erik quanstrom
@ 2008-03-19  7:53 ` Bruce Ellis
  2008-03-19 10:24 ` Pietro Gagliardi
  1 sibling, 0 replies; 3+ messages in thread
From: Bruce Ellis @ 2008-03-19  7:53 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

is this a cry for help or have you looked at any of the code?

having fun yet?

brucee

On Wed, Mar 19, 2008 at 3:26 PM, erik quanstrom <quanstro@quanstro.net> 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.
>
> 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
>
>


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [9fans] lies, damn lies and kloc.
  2008-03-19  4:26 [9fans] lies, damn lies and kloc erik quanstrom
  2008-03-19  7:53 ` Bruce Ellis
@ 2008-03-19 10:24 ` Pietro Gagliardi
  1 sibling, 0 replies; 3+ messages in thread
From: Pietro Gagliardi @ 2008-03-19 10:24 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

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
>



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-03-19 10:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-03-19  4:26 [9fans] lies, damn lies and kloc erik quanstrom
2008-03-19  7:53 ` Bruce Ellis
2008-03-19 10:24 ` Pietro Gagliardi

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).