Re: I symbolics still selling machines? does anyone use the lisp genera os?
- From: Frank Buss <fb@xxxxxxxxxxxxx>
- Date: Sun, 29 Jul 2007 14:08:25 +0200
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
.
- Follow-Ups:
- Re: I symbolics still selling machines? does anyone use the lisp genera os?
- From: Slobodan Blazeski
- Re: I symbolics still selling machines? does anyone use the lisp genera os?
- From: gavino
- Re: I symbolics still selling machines? does anyone use the lisp genera os?
- From: John Thingstad
- Re: I symbolics still selling machines? does anyone use the lisp genera os?
- References:
- I symbolics still selling machines? does anyone use the lisp genera os?
- From: gavino
- Re: I symbolics still selling machines? does anyone use the lisp genera os?
- From: daidongLY@xxxxxxxxx
- I symbolics still selling machines? does anyone use the lisp genera os?
- Prev by Date: Re: Need some help.
- Next by Date: clisp screws my enviromnent
- Previous by thread: Re: I symbolics still selling machines? does anyone use the lisp genera os?
- Next by thread: Re: I symbolics still selling machines? does anyone use the lisp genera os?
- Index(es):
Relevant Pages
|
|