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



Reply via email to