Re: I symbolics still selling machines? does anyone use the lisp genera os?



daidongLY@xxxxxxxxx wrote:

Is the Linux's 2.4 million SLOC just the size of kernel? Or includes
device drive?

It doesn't make sense to compare this. Maybe there was some useful software
in the Symbolics code, but I doubt that it had drivers for all kind of
hardware like Linux, e.g. Linux supports more than 60 network cards (
http://tinyurl.com/34zclc ) and I assume there are lots of device types the
Symbolics machine not even know, but the Lisp machine has some application
code, which the Linux kernel doesn't have.

You can download the Linux kernel from http://www.kernel.org/ , e.g. the
latest kernel:
ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-2.6.22.tar.gz
Then you can measure the number of lines:

find . -exec cat {} \; | wc
8,499,410 29,654,309 244,866,374 (lines, words, chars)

find . -type f -name *.c -exec cat {} \; | wc
5,979,935 19,411,234 16,2966,504

find . -type f -name *.h -exec cat {} \; | wc
1,462,784 6,084,899 52,288,919

I don't know which kernel version the blogger used for his 2,4 million
lines of code. Adding the headers and C files, the Linux kernel has 7,4
million lines of code.

Symbolics Lisp machines were sold with the computer, so maybe it supports
one network card? This means it would need 460,000 * 60 = 28 million lines
of code to support all drivers Linux does. The conclusion: C is nearly 4
times more efficient in code size than Lisp :-)

--
Frank Buss, fb@xxxxxxxxxxxxx
http://www.frank-buss.de, http://www.it4-systems.de
.



Relevant Pages

  • Re: I symbolics still selling machines? does anyone use the lisp genera os?
    ... Symbolics machine not even know, but the Lisp machine has some application ... You can download the Linux kernel fromhttp://www.kernel.org/, ... of code to support all drivers Linux does. ...
    (comp.lang.lisp)
  • Re: I symbolics still selling machines? does anyone use the lisp genera os?
    ... Symbolics machine not even know, but the Lisp machine has some application ... You can download the Linux kernel fromhttp://www.kernel.org/, ... of code to support all drivers Linux does. ...
    (comp.lang.lisp)
  • Re: Wasting our Freedom
    ... I recognize that writeup about the Atheros / Linux / SFLC story is a ... Theo is going to make sure people understand what ... people that have been working on it for the Linux kernel has added their own ... It is now obvious that you have no interest in facts, ...
    (Linux-Kernel)
  • [reiserfs] exception/panic while trying to write data
    ... While trying to upgrade from Linux 2.6.7 to Linux 2.6.11.12, ... Aug 8 16:37:46 linux kernel: ReiserFS: hdh1: checking transaction log ... invalid format found in block 12812288. ... Fsck? ...
    (Linux-Kernel)
  • Re: patches question
    ... Speaking of which, here's the FAQ update patch I sent Richard last month, just ... +The Linux Kernel ... It explains how to compile, install, and run a Linux kernel. ... -Linux Documentation Project ...
    (Linux-Kernel)