
Linux kernel has exceeded 10 million lines
A simple analysis of the latest version of the Linux kernel 2.6.27 shows that the code in it exceeded 10 million lines . True, this number also includes empty lines, comments and text files.
If you filter the result using SLOCCount , then a deeper analysis gives the exact number of useful lines of code: 6,399,191. Of these, 96.4% are written in C, and 3.3% are in assembler, Perl takes the third place (0.1% ) The number of lines increases with each new version of the kernel , which are released approximately every 90 days.
More than half of the code now is hardware drivers, followed by the arch / directory, where the code for various architectures supported on Linux is located.
According to a hypothetical estimate, SLOCCount, to rewrite Linux from scratch, requires the work of 200 programmers for nine and a half years and it will cost $ 268 million (with an average salary of a programmer). The cost of the kernel also grows with each update.
via Slashdot
If you filter the result using SLOCCount , then a deeper analysis gives the exact number of useful lines of code: 6,399,191. Of these, 96.4% are written in C, and 3.3% are in assembler, Perl takes the third place (0.1% ) The number of lines increases with each new version of the kernel , which are released approximately every 90 days.
More than half of the code now is hardware drivers, followed by the arch / directory, where the code for various architectures supported on Linux is located.
According to a hypothetical estimate, SLOCCount, to rewrite Linux from scratch, requires the work of 200 programmers for nine and a half years and it will cost $ 268 million (with an average salary of a programmer). The cost of the kernel also grows with each update.
via Slashdot