Networking
Security
Telco/ISP
Storage
Hardware
Software
Oddware
Strategy
Finance
Training & Development
Login
|
Join iTnews
|
Sitemap
|
RSS
Reviews
|
Galleries
|
Events
|
Net Seminars
|
Whitepapers
|
Downloads
|
Newsletter
|
Videos
Home
>
News
>
Technology
>
Software
>
Linux source code passes 10 million lines
Software
Linux source code passes 10 million lines
By
Egan Orion
Oct 23, 2008 6:48 AM
Tags:
linux
|
source
|
code
|
passes
|
10
|
million
|
lines
The number of lines of source code comprising Linux kernel files recently surpassed the ten million mark after the latest release of Linux version 2.6.27, an analysis has found.
However, that count includes blank lines, comments and text files included in a full checkout of the kernel source.
Counted slightly differently, the number of lines of actual text is "only" over nine million, but we rather like that larger figure of ten million, because white-space really is important for code readability and, well... it's a nice round number..
As with all long-term programming projects, the size of the Linux kernel code base varies over time, as old code is discarded and replaced.
Newer features and functions are constantly being added, though, so the overall size of the Linux kernel continually increases.
Some analyses of the Linux kernel code base using David Wheeler's SLOCCount program yield some interesting facts.
The acronym "SLOC" stands for Source Lines of Code.
It finds only 6,399,191 lines of source code, since it doesn't count blank lines, comments and other input.
Categorisation by language finds that the overwhelming majority of the Linux kernel code is written in ANSI C, at 96.39 per cent, with Assembly Language accounting for almost all of the rest at 3.32 per cent.
Other languages used in the kernel source files, in descending order of the number of lines of code, include Perl, C++, Yacc, Sh(ell), Lex, Python, LISP, Pascal and Awk.
More interestingly perhaps, SLOCCount also produces an estimation of the Linux kernel source code's value, that is, what it might cost to redevelop the code base from scratch, using the COCOMO development model.
SLOCCount estimates that it would take a team of over 200 developers about nine and a half years to rewrite the Linux kernel from scratch.
Based up a four year old assumption of programmers' average salary level, SLOCCount calculates that would cost nearly US$268 million.
Given inflation and adding in management overhead, US$500 million might be a fair estimate of what it might actually cost a proprietary software vendor to redevelop Linux.
In fact, thousands of programmers have contributed to developing the Linux kernel, over a period of more than 15 years.
And in terms of what it costs one to download a full Linux distribution, they did for free.
theinquirer.net (c) 2009 Incisive Media
Related Articles
Opera 10 passes 10 million downloads
Facebook reworks PHP for speedier servers
Symbian open sources mobile platform code
Internode exchanges open source e-mail for Microsoft
Breaking Stories
CA buys systems monitoring firm Nimsoft
Crunch: Telepresence and the end of the world
ATO tax returns backlogged no longer
Adelaide gets nod for high density data centre
Plans afoot for new Sydney-US fibre link
Email this
Print this
Tweet this
Send us your tips
Comments
Be the first to comment on this article.
Thoughts on this article? Add a comment below.
Comment:
Want to participate in the discussion?
Register for FREE
Or
log in
now to comment
Ads by Google
IT Whitepapers
Top Categories
Networking
Software Development
IT Management
Enterprise Applications
Storage
more technology whitepapers »
Latest Technology Jobs
Support Engineer
Business Development Manager (Sydney)
Oracle Fusion Support
Infrastructure Project Manager - Speech Analytics (M4)
Solution & Test Analyst (Q8)
Solaris/Unix Systems Administrator
more technology jobs »
Top Stories
Australia comes clean on ACTA role
No intention of changing Australian law.
Datacom CEO speaks about flood damage
Affected customers can expect compensation.
Microsoft to kill off Essential Business Server
Development will end on 30 June.
Datacom data centre flooded by Melbourne storm
Found: Google Australia's secret data network
Researchers dissect ZeuS botnet blueprint
Not all welcome at Perth anti-filter rally
Australia comes clean on ACTA role
Datacom data centre flooded by Melbourne storm
Not all welcome at Perth anti-filter rally
NBN Co unveils five national fibre test sites
Film industry appeals in iiTrial case
Greens move to ban ATM fees
Spotlight
the topics we're following
Telstra Split
IINET vs AFACT
Cloud computing
Internet Filtering
NBN
Latest Comments
"Speed of light is not 300m/s its 3x10^8m/s. 300m/s is about the speed of sound."
on
Video: LHC on the brink of 7 TeV
by
petedaws
Mar 12, 2010 9:39 AM
"Tim, Wow, where do I start? Aside from the increased distance by going CCW around the Pacific ..."
on
Plans afoot for new Sydney-US fibre link
by
Primeribfan
Mar 12, 2010 9:30 AM
"And now for some actual facts from someone who was "briefed" by DFAT. They do intend for local ..."
on
Australia comes clean on ACTA role
by
BrendanM
Mar 12, 2010 9:24 AM
"It would seem there is an opportunity to think about this from another angle. ANYBODY who ..."
on
Grey cloud hangs on NBN Co greenfields role
by
GregA
Mar 12, 2010 8:35 AM
"@Sams: So you're condoning and praising failure? It doesn't matter whether the "harm" compares ..."
on
Datacom data centre flooded by Melbourne storm
by
TheEvilMuppet
Mar 12, 2010 12:28 AM
Plan Finder
Powered by
WhistleOut
Mobiles
Deals
Broadband
1)
HTC Magic
7 plans
12%
2)
Nokia N97
44 plans
11%
3)
Nokia E71
50 plans
4%
4)
Nokia E72
30 plans
13%
5)
Apple iPhone 3GS 16GB
36 plans
4%
This Guy is Not
Bob. This is...
Super-fast in home wireless broadband + local and national calls.
Sony Deals
With Optus
Great Sony PlayStation® deals available for a limited time with Optus.
Save $50 on
iPhone 3G 8GB
3 Mobile are offering $50 off an iPhone 3G 8GB on $49 cap and above.
3 Months Free
on HTC Magic
The HTC Magic is now available on the $29 Cap from 3 Mobile with 3 months free access.
3 Months Free
on Nokia N97
Big February update - now 3 months free with Vodafone on the $59 Cap.
3 Months Free
on Nokia E71
The Nokia E71 is now available on the $29 Cap from 3 Mobile with 3 months free access.
Nokia E72 +
3 Months Free!
The Nokia E72 - new model with full keyboard and 3 months free on the $49 Cap.
3 Months Free
with 3 Mobile
Get 3 months free on Nokia E71, Samsung F480, Nokia E63 and more with 3 Mobile.
New iPhone Price
on $49 Cap
Vodafone have released new iPhone 3GS prices on the $49 Cap.
$50 Credit on
iPhone + More
Get a $50 credit on selected plans (including iPhone) with Vodafone.
«
1
of
»
1)
Netspace
36 plans
33%
2)
3
7 plans
33%
3)
Optus
41 plans
1%
4)
iiNet
32 plans
1%
5)
Dodo
34 plans
1%
Mobiles
|
Broadband
|
Credit Cards
Haymarket - iTnews