From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10f8a1,b0b9a5eaad4ab6eb X-Google-Attributes: gid10f8a1,public X-Google-Thread: 102b75,b0b9a5eaad4ab6eb X-Google-Attributes: gid102b75,public X-Google-Thread: 110292,b0b9a5eaad4ab6eb X-Google-Attributes: gid110292,public X-Google-Thread: 1164f8,b0b9a5eaad4ab6eb X-Google-Attributes: gid1164f8,public From: brianh@bit3.com Subject: Re: Wildfire and NT Date: 1998/02/25 Message-ID: #1/1 X-Deja-AN: 328540993 References: <6csl81$rb9@news-rocq.inria.fr> <6cvgl7$5kb$3@nntp.Stanford.EDU> Organization: Bit 3 Computer Corp Newsgroups: comp.sys.dec,vmsnet.alpha,comp.arch,comp.sys.intel In article <6cvgl7$5kb$3@nntp.Stanford.EDU>, David Hinds wrote: >brianh@bit3.com wrote: >: > >: >However a talented programmer will write a 30,000 line program that >: >fits in 3,000 lines. >: >: *Bzzt* Thank you for playing, but that answer is incorrect. >: >: If you feel the need to disagree, please post the 3,000 line program that >: delivers the same functionality of the Linux kernel. > >Your "counterexample" is only relevant if you assume that the Linux >kernel wasn't written by talented programmers in the first place. The original poster (the attribution seems to have disappeared) sounded like he was saying that every 30,000 line program could be a 3,000 line program if it was just written by a talented enough programmer. Yes, incompetance can lead to serious code bloat (turning 3,000 line programs into 30,000 line programs), but there are 30,000 line programs which are well written by talented people, and could not be turned into equivelent 3,000 line programs at the current state of the art. Moving from assembly to C reduces the lines of code required for "equivelent" programs by at least a factor of 3- so the ~300,000 line Linux kernel in C would require ~1,000,000 lines (or more) of assembly- so advances in the state of the art reduce the number of lines of code required for the same program. However, the number and complexity of features advance at the same time (if not before)- consider the complexity difference going from a text-based word processor to a GUI WYSIWYG word processor. > >Going in the other direction, I'm sure that people could think of >things with 10 times as many lines as the Linux kernel, but with less >functionality. > >-- Dave Hinds I don't speak for Bit 3. Brian