Industry


Ads by TechWords

See your link here


204.5-Million lines of code equals one great Linux distribution

Maybe, just maybe, the best things in life really are free. Take Linux, for example. It's a great, free operating system that you don't have to spend a dime on. You can use it to run the New York Stock Exchange's servers; you can use it to run your desktop; and you can use it to run your mobile phone.

The latest Linux Foundation's report, Estimating the Total Development Cost of a Linux Distribution reminds me again of just how truly valuable and remarkable this 'free' operating system really is. In this study, the Foundation analyzed how many lines of code are actually in Red Hat's community Fedora 9 Linux distribution, and how much it would cost, in today's dollars, with today's software development costs, to have written it as a proprietary operating system.

The Foundation started by using Linux and security programmer David A. Wheeler's methodology from his 2002's groundbreaking study, Linux: More Than a Gigabuck: Estimating GNU/Linux's Size. The results of applying these tools to 2008's Fedora 9 Linux came out to a total of 204,500,946 physical SLOC (Source Lines of Code) and a cost of $10,784,484,309. But, lucky you, you can download it for free from the Fedora Web site and you won't need to spend a penny on it.

Have you ever thought about what an insane bargain Linux really is? You can, and many of you do, spend wheelbarrows of money on Windows and for what? To get an operating system that requires monthly updates to keep it barely secure and additional cost anti-virus and anti-malware programs to try to keep it secure.

Of course, many people to have to pay money for Linux as well. But, it's an option. Once you've learned Linux, the only currency you need to keep Linux and its applications secure and working well is the knowledge in your head.

We're really very lucky. Thanks to Linus Torvalds and Richard M. Stallman's thought that it's better to share intellectual wealth rather than hoard it, we're blessed not just with an operating system, but with thousands of top-notch open-source software programs that let us do our work, connect with the world, listen to music, watch television and play games. Linux: it may just be the best software deal in the history of the world.

What People Are Saying

You sure about that number?

You sure about that number? I think you're off big time. As of 10/9/2008 the linux kernel had under 10 million lines of code according to wikipedia.

The Kernel itself

according to the study, the kernel itself has: 6,772,902 lines of code.

I really, really wouldn't trust Wikipedia for this, or any other, information.

Steven

wikipedia

Remember, Wikipedia is just like Linux - it's only as good as the community. Sure, there's some crap on it, but when you find the crap, you can flag it for the rest of the community to check, or become a part of that community and fix it yourself.

You said there are 6.7 million lines of code. Wikipedia said there are less than 10 million lines of code in the kernel. 6.7 is less than 10. Elementary math skills, buddy.

But then, why should I trust you? As I sit here in my office, how do I know there's even a you our there? I can't see you, I don't know you, so how can I trust any information you give? I guess I should just stay happy in my little bubble of doubt and self-importance, just like you.

A Linux distro has a lot

A Linux distro has a lot more than just the kernel in it. Much of what you "see" as you use your PC is software that sits on top of the kernel.
This post makes me think about how a lot of people doing their own small bit can add up to a huge result. Since I started using Linux about a year ago I've been impressed with the excellent unofficial support that's available, all thanks to lots of people doing their own small bit. Keeps me determined to do my own small bit in return.

Fedora? What about Debian?

Last time I checked, Fedora was 1 DVD. Debian is going to 30.5 CDs or 4.5 DVDs for Lenny. These distros are great cooperative products of the world. They rival the pyramids.
see http://cdimage.debian.org/cdimage/weekly-builds/i386/iso-cd/

Yet, many millions remain slaves to non-free software.

There is still much work to do.

Other code totals

The Foundation describes, down to the command level, how they got their numbers so anyone could duplicate their efforts with Debian or any other distro. It might prove an interesting exercise for someone.

Steven

"Last time I checked, Fedora

"Last time I checked, Fedora was 1 DVD."

That DVD is just a subset of the whole repository. The whole repository will definitely flow over 2 DVD's easily.

The code total

was taken of the whole Fedora repository.

Steven