50 million line code rumor

  • Thread starter Thread starter Puppy Breath
  • Start date Start date
P

Puppy Breath

Anyone know if there's any truth to the rumor about Vista being up to 50
million lines of code?
 
There are a number news articles that reference this code count. Previous
news items for XP claimed the total at 35-40 MLOC.

Given that Vista is bigger and had many more files, 50 MLOC might not be
that far off. Other news items reference about 6 MLOC for Linux

Ed
 
I am sure that all of vista could fit in 100 mb or less if it was written
directly in machine code

remember the days when programmers had 48k of ram to work with, yet they
made whole games
with that 48k?.... they had to learn all the tricks in the universe on how
to be efficient....

Today a 750 GB baracuda drive is bieng sold..... why should MS care about
efficiency?

Lets bloat the thing to the sky!
 
In machine code it would be smaller, but there would still be 50 MLOC. The
problem is that Windows has become both wide and deep. Things like
integrating MSIE into every component ties the pieces together and creates a
bigger beast.

Ed
 
if so, why don't u write your own os ;)

John Jay Smith said:
I am sure that all of vista could fit in 100 mb or less if it was written
directly in machine code

remember the days when programmers had 48k of ram to work with, yet they
made whole games
with that 48k?.... they had to learn all the tricks in the universe on how
to be efficient....

Today a 750 GB baracuda drive is bieng sold..... why should MS care about
efficiency?

Lets bloat the thing to the sky!
 
I am not a programmer, nor would I wish to live such a dreary life!
Nor do I have the special talent a programmer has to have.

The thing is that the easier it is for the machine to handle a program,
the harder it is for the programmer to write the code...
A machine would love a programmer who could think and write directly into
binary numbers... but no human mind is capable of doing that for complex
things.

If you make it easier for the programmer you need to use tools
to write and compile the code, creating bloat,
making more code that the machine must handle.
 
Now there's a thought. Let's get started. Maybe we can beat MS to the punch.
Let's start with 000000 00001 00010 00110 00000 100000...

50 million lines of code. Kinda makes you wonder if we (humans in general)
aren't going about this whole thing the wrong way.
 
Perhaps there are some people that can do it, (write whole OS's directly in
binary code)
they are called savants or, idiot savants - autistic savants (a term not
used today but anyway).

These people can do enormous calculations with their brain, some of them
visualize numbers as colors and shapes, flashes of light... for some the
number they seek
just pops up from nowhere.... unfortunately most of these people lack other
functions
of the brain (that's why the term includes the work idiot, not as an
insult).

Their are various types of savants, like musical, artistic, calendar,
mnemonic...

There is ONE however that is perfectly normal, and not autistic....
his name is DANIEL TAMMET. Scientists are trying to understand how the hell
he is capable
of doing tasks that computers have a hard time doing....
He can calculate numbers 100 digit long in fraction of a second.. the MS
calculator handles only 32 digits... lol
(see links on the bottom of my post about this incredible guy)
Perhaps MS should get this guy to rewrite the Vista code for them (hehehe).

So the thing is, if HE can do it, then the human brain IS capable of doing
tremendous things,
but we don't know hot to TAP into those abilities yet....

Another well known savant is Kim Peek, from which the movie RAINMAN with
Dustan Hoffman was based on.

http://en.wikipedia.org/wiki/Daniel_Tammet
http://www.mymultiplesclerosis.co.uk/misc/danieltammet.html
http://www.pi-world-ranking-list.com/lists/details/tammet.html
http://www.focusproductions.co.uk/Real_Rainman_Text.html
 
Based on some of what I see in Vista, it appears MS has many who might
quality as "idiot savants". However in the MS case, only one of the two
words is needed to describe those folks...

Ed
 
These people can do enormous calculations with their brain, some of them
visualize numbers as colors and shapes, flashes of light... for some the
number they seek
just pops up from nowhere....

I can do enormous calculations in my sleep. I dream solutions to very
complex problems. I can compose at the same time. The trouble is that
it all fades away as I wake up.
 
I don't think so. If you analyze the files and directories, one directory
in Windows named Winsxs has almost 3GB of stuff. The driver related
subdirectories only appear to have a few hundred MB of stuff.

There are also what appears to be a lot of foreign language directories. I
assume many of those will disappear in the final RTM product for installs.

Ed
 
Nah, it's not 50 million lines. Not entirely sure of it, but at an
estimation, 50 million lines of C# code would probably enter the 10GB+
margin. Not highly accurate, but I'm sure it's not 50 million.

--
Zack Whittaker
» ZackNET Enterprises: www.zacknet.co.uk
» MSBlog on ResDev: www.msblog.org
» Vista Knowledge Base: www.vistabase.co.uk
» This mailing is provided "as is" with no warranties, and confers no
rights. All opinions expressed are those of myself unless stated so, and not
of my employer, best friend, Ghandi, my mother or my cat. Glad we cleared
that up!

--: Original message follows :--
 
Puppy said:
Anyone know if there's any truth to the rumor about Vista being up to
50 million lines of code?

"lines of code" is a meaningless measurement.

If I code a function in C# it might take five lines. If I code it in
assembler it might take 50.

The assembler version might be the faster version. Despite using more 'lines
of code' it will probably be more 'compact' in terms of memory and processor
cycles used.

Lets also consider style:

static void Main(string[] args)
{
Console.WriteLine
(
"Hello World"
);
}

7 lines to say "Hello World" in c#

Or, you could say:
static void Main(string[] args)
{
Console.WriteLine("Hello World");
}
4 lines. Exactly the same bit of code. Except that in the 2nd example its
actually readable.
 
I'm sure that Wendy promised one of the top bug submitters on R2 the entire
source code for R2 and Windows Server 2003 SP1...
.... my guess that it would have weighed about double my body weight in
paper! LOL

--
Zack Whittaker
» ZackNET Enterprises: www.zacknet.co.uk
» MSBlog on ResDev: www.msblog.org
» Vista Knowledge Base: www.vistabase.co.uk
» This mailing is provided "as is" with no warranties, and confers no
rights. All opinions expressed are those of myself unless stated so, and not
of my employer, best friend, Ghandi, my mother or my cat. Glad we cleared
that up!

--: Original message follows :--
 
Back
Top