The number of lines of Linux Source Code exceeds 10 million, and the value is USD 0.5 billion.

Source: Internet
Author: User
The number of lines of Linux source code has exceeded 10 million billion US dollars-Linux general technology-Linux programming and kernel information. The following is a detailed description. [CCID news] on June 14, October 23, an analysis found that after the Linux kernel 2.6.27 was released recently, the number of lines of source code, including Linux kernel files, had exceeded 10 million lines.

However, this number includes blank lines, comments, and text files for the entire kernel source code year-round check. Different methods are used for calculation. The actual number of lines of text exceeds 9 million. However, we like numbers with a larger 10 million rows, because the blank space is actually very important for the readability of the Code.

Like all long-term programming projects, the size of the Linux kernel code library is constantly changing, because the old code needs to be canceled and replaced. However, the updated features will continue to increase. Therefore, the entire Linux kernel code library will continue to increase.

Using the SLOCCount counting program of David Wheeler to analyze the Linux kernel code library has found some interesting facts. The analysis found that there are only 6,399,191 lines of source code, because the counting program does not calculate blank lines, comments, and other input information. The following is the code classification statistics provided by the SLOCCount program:

Type row percentage
Driver 3,301,081 51.6
Architecture 1,258,638 19.7
File System 544,871 8.5
Network 376,716 5.9
Sound 356,180 5.6
Include (inclusive) 320,078 5.0
Kernel 74,503 1.2
Memory Management 36,312 0.6
Cryptology 32,769 0.5
Security 25,303 0.4
Other 72,780 1.1

Considering the growth rate and management overhead of Linux code, the actual cost of Developing Linux is expected to reach $0.5 billion. In fact, over the past 15 years, a large number of programmers have contributed to the development of the Linux kernel.

From: SCID
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.