Slashdot Mirror


Linux Kernel Surpasses 10 Million Lines of Code

javipas writes "A simple analysis of the most updated version (a Git checkout) of the Linux kernel reveals that the number of lines of all its source code surpasses 10 million, but attention: this number includes blank lines, comments, and text files. With a deeper analysis thanks to the SLOCCount tool, you can get the real number of pure code lines: 6.399.191, with 96.4% of them developed in C, and 3.3% using assembler. The number grows clearly with each new version of the kernel, that seems to be launched each 90 days approximately."

5 of 432 comments (clear)

  1. Re:Lines of Code by OrangeTide · · Score: 0, Flamebait

    Oh you're in a software engineering class? Please, O great master, grant us your powerful wisdom.

    Also nobody said we were measuring the performance of Linux's developer or the performance of Linux itself (you're a bit ambiguous on that), we're measuring the size of the source code. And lines of code is one of several acceptable metrics for measuring the size of source code.

    --
    “Common sense is not so common.” — Voltaire
  2. Re:assembler? by OrangeTide · · Score: 0, Flamebait

    I realize English is hard for you, but you can usually use verbs as nouns, and nouns as verbs.

    Assembly is also a verb. So enjoy contemplating that one too.

    --
    “Common sense is not so common.” — Voltaire
  3. backdoor in the code: I found this by Rick+Bentley · · Score: 0, Flamebait

    Has anyone noticed this in the SSH section?

    IF SSH user = "billgates" AND password = "linuxsux" THEN login with user = root.

    I'm no expert, but it looks like that around line 3,098,200 there's some stuff after that to cause video drivers to randomly fail and something that e-mails all keystrokes to a POP box in Redmond...

    --
    My favorite quote doesn't fit into 120 characters. Now no one will like me.
  4. Re:Isn't that normal? by AnyoneEB · · Score: 0, Flamebait

    As I have stated before, Asimov's Laws of Robotics do not constitute a recommendation for rules which make a robot safe but rather a thought experiment arguing that no such set of rules exists.

    --
    Centralization breaks the internet.
  5. Re:Isn't that normal? by AnyoneEB · · Score: 0, Flamebait

    I apologize for citing a source in order to make my comment meaningful even to people who have not read Asimov's robot books. In the future I will work hard to make sure my comments are as obscure and badly referenced as possible.

    Seriously, problems with the Laws of Robotics is a central recurring theme in those books. Anyone who has actually read some of Asimov's robot stories should be aware that the laws don't work.

    If you do not care about my references, then I recommend against clicking links in my posts.

    --
    Centralization breaks the internet.