The Inquirer-Home
Comments
compare line diff between version of linux

Has anyone compared line count between version of linux? Using a program such as bcscr (http://bcscr.sourceforge.net/). Is the change in line count growing?

posted by : jbhenrie, 26 March 2010 Complain about this comment
Vista line code

Vista = 50 millions
Win XP = 25-30 millions

posted by : Energizer, 24 October 2008 Complain about this comment
@B

[quote]Yeah...
"In fact, thousands of programmers have contributed to developing the Linux kernel, over a period of more than 15 years."

...And it's still not ready for mainstream use! LOL.[/quote]

Wrong! It is used in a number of mainstreams - web servers, database servers, and in high transaction oriented production environments as well.

What you probably meant was Desktops. Right? To make it more mainstream (as in desktop), two things need to be achieved. 

1) All PC (non console) games to run on Linux. OpenGL is good, but games developers need to support that as well.

2) Microsoft must (really) stop piracy. 

Make out what you will out of point 2.

posted by : sb, 23 October 2008 Complain about this comment
at "Grunchy"

You've missed the point: The goal has always been about producing a free (liberty) and open operating system for your fellow man. To allow you to do things with it (conditions set by the GPL, the license which Linux is under.)

The GPL's intent is the following four freedoms.

(1) The freedom to run the program, for any purpose.

(2) The freedom to study how the program works, and adapt it to your needs.

(3) The freedom to redistribute copies so you can help your neighbor.

(4) The freedom to improve the program, and release your improvements to the public, so that the whole community benefits.

This is how Linux is so threatening. It draws the power of a global community of programmers to focus on a specific goal. (Some a voluntary while others have been employed to contribute).

Counting the number of lines of code and trying to value it in monetary terms doesn't mean anything other than for fun and statistics. Because what the code represents, is freedom in terms of liberty for the user. (The code you download and use is YOURS. No one cares what you do with it as long as you comply with the license its under. That is the GPL).

Compare this to Windows and OSX. Where they are closed off, largely inflexible, and in Windows's case; has a condition in the EULA where you aren't allowed to modify or fix things to make it better. (Essentially, they don't want you to touch it).

This emphasis on freedom is made more pronounce by the recent introduction of Windows Genuine Advantage in China. Where some folks feel like the system they bought is no longer theirs. The topic is discussed in The Inquirer's other article:
=> http://www.theinquirer.net/gb/inquirer/news/2008/10/22/chinese-fume-microsoft-anti

My point is this: You can't put a price on freedom.

posted by : aussiebear, 23 October 2008 Complain about this comment
Yeah...

"In fact, thousands of programmers have contributed to developing the Linux kernel, over a period of more than 15 years." 

...And it's still not ready for mainstream use! LOL.

posted by : B, 23 October 2008 Complain about this comment
ha! easy

"Line comparison?
ok that's cool ... but by comparison how many lines does XP, Vista or Leopard have?"

Count the time it takes a linux distro to boot... then count the time it takes a feature comparable Vista install to boot and just multiply it by the other...

Then, with some simple math, you have approx how many lines of code Vista has....

posted by : IanHarvie@4Development.Net, 23 October 2008 Complain about this comment
Outsource it for $8 a line

@Grunchy: sounds cheap to me. An oft-quoted metric is a programmer produces, on average, 10 lines of production code a day (averaged over the life of a project). It's very easy to write code, much harder to make it work properly. Sometimes it takes days or even weeks to find that stray +1 that shouldn't have been there. 

Most companies would outsource a greenfield half-billion dollar project to India or wherever, and take the 20% cost saving.

posted by : Steve, 23 October 2008 Complain about this comment
Yay the Penguin!

After the mythical man month, mistakes can happen, figure on actual cost being 10 times that figure to have something so big actually work. Look at Vista, a huge architected dev program fubarred from day 1 and costing easily an order of magnitude greater than $500m. Look at international finance. Non-organic dev driven by profit rather than utility is EVIL.

posted by : Fish Eating Surrender Penguin, 23 October 2008 Complain about this comment
$10 per line then?

Lets say the kernel is worth $100 million and is comprised of 10 million lines, that means each line is worth $10.
Or, lets say the kernel is worth $500 million, then each line is worth $50.

It's like, that just doesn't strike me as realistic somehow?

I know: the whole thing is worthless! It cost nothing to produce and costs nothing to obtain.
At last, I finally understand Linux ???

posted by : Grunchy, 22 October 2008 Complain about this comment
Line comparison?

ok that's cool ... but by comparison how many lines does XP, Vista or Leopard have?

posted by : Jerry, 22 October 2008 Complain about this comment

Linux source code passes 10 million lines

aboutus
Advertisement
Subscribe to INQ newsletters
Advertisement
INQ Poll

Facebook starts selling shares

Will you buy Facebook shares?