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."

32 of 432 comments (clear)

  1. Meh by alexborges · · Score: 4, Funny

    AND???

    In other news, trees tend to grow up unless they tend to grow down or sideways. Sharks tend to eat anything they can, unless they are not hungry.

    Anonymous will beat me to FP for sure, unless they dont.

    --
    NO SIG
    1. Re:Meh by V!NCENT · · Score: 5, Funny

      Yeah so!? Cars are also getting bigger and more complex over time, so Linux must be heading in the right direction!

      Did I just... ? Oh sh-

      --
      Here be signatures
    2. Re:Meh by T'hain+Esh+Kelch · · Score: 1, Funny

      In other news, in a turn of events, Bill Gates states that 640k lines should be enough for everyone, and that Linux is obviously bloated.

    3. Re:Meh by DiegoBravo · · Score: 2, Funny

      >> trees tend to grow up unless they tend to grow down or sideways.

      Of course you can expect a dramatic reduction in source code size as the 2.8 finally introduces C++, the full OO paradigm, several Go4 official design patterns, and a bit of eXtreme Programming in order to recruit more young programmers.

  2. Stolen code by CRCulver · · Score: 5, Funny

    Too bad 9,999,999 lines of that code were ripped off from SCO.

    1. Re:Stolen code by Tubal-Cain · · Score: 4, Funny

      And the unique line is commented out.

    2. Re:Stolen code by RiotingPacifist · · Score: 5, Funny

      only in the Debian version

      --
      IranAir Flight 655 never forget!
    3. Re:Stolen code by earlymon · · Score: 4, Funny

      Take one down, pass it around, 9,999,998 lines of code from SCO

      --
      Pathological kinda promises Path + Logical - but instead, you get stuck with pathetic.
  3. Re:Lines of Code by megamerican · · Score: 5, Funny

    Exactly. The better metric would be how many Libraries of Congress the kernal is.

    --
    If you have something that you dont want anyone to know, maybe you shouldnt be doing it in the first place -Eric Schmidt
  4. Happy Ten Million, Linux! by Drakkenmensch · · Score: 5, Funny

    Now, where do we find a birthday cake with ten million candles?

    1. Re:Happy Ten Million, Linux! by Anonymous Coward · · Score: 5, Funny

      Now, where do we find a birthday cake with ten million candles?

      At John McCain's Birthday Party?

  5. Re:linux kernel getting bloated by QRDeNameland · · Score: 2, Funny

    15. The Residents - Not Available

    If Obama is missing that record, I'd be glad to lend him my copy.

    --
    Momentarily, the need for the construction of new light will no longer exist.
  6. What about the other .3% ? by damn_registrars · · Score: 5, Funny

    96,4% of them developed in C, and 3,3% using assembler

    That leaves .3% that is unaccounted for. What was it written in?

    --
    Damn_registrars has no butt-hole. Damn_registrars has no use for a butt-hole.
    1. Re:What about the other .3% ? by atomic-penguin · · Score: 5, Funny

      Visual Basic 6.

      --
      /^([Ss]ame [Bb]at (time, |channel.)){2}$/
    2. Re:What about the other .3% ? by jd · · Score: 1, Funny

      0.1 was written in APL, and the remaining 0.2% was in SNOBOL.

      --
      It's a small world and it smells funny; I'd buy another if it wasn't for the money; Take back what I paid (SoM)
    3. Re:What about the other .3% ? by mx119 · · Score: 2, Funny

      That leaves .3% that is unaccounted for. What was it written in?

      Asgard?

  7. Re:Reply from actual kernel developer please . . . by Anonymous Coward · · Score: 5, Funny

    Almost completely bug free? What are you smoking?

  8. This story by bonch · · Score: 2, Funny

    Basically, this story is "Linux kernel surpasses 10 million lines of code! Just kidding."

  9. Re:Lines of Code by stephentyrone · · Score: 4, Funny

    I'm in a software engineering class listening to how to use metrics on code.

    No, you're in a software engineering class posting on Slashdot.

  10. Re:Micro-kernel vs massive kernel? by soulsteal · · Score: 5, Funny

    Tanenbaum, is that you? If so, give it up! It's been 16 years and you're not fooling anybody!

  11. Re:assembler? by lilomar · · Score: 5, Funny

    Sure it is, why, I was assembly some assembler code just the other day. I was using my assemble to do it.

    --
    The creator of this post (Jacob Smith) hereby releases it, and all of his other posts, into the public domain.
  12. Re:Reply from actual kernel developer please . . . by MobileTatsu-NJG · · Score: 2, Funny

    I'm just curious because keeping 6+ million lines of code almost completely bug free is pretty amazing.

    Yes, that would be amazing.

    --

    "I like to lick butts!" by MobileTatsu-NJG (#32700246) (Score:5, Informative)

  13. Re:assembler? by Hatta · · Score: 4, Funny

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

    It's better if you don't. Verbing weirds language.

    --
    Give me Classic Slashdot or give me death!
  14. Not very informative. by hey! · · Score: 4, Funny

    This article summary is not very informative. The very least they could do is tell us which ten million lines of code Linux has surpassed.

    --
    Post may contain irony: discontinue use if experiencing mood swings, nausea or elevated blood pressure.
  15. Re:Reply from actual kernel developer please . . . by ZombieRoboNinja · · Score: 5, Funny

    >>There are literally thousands of men runnning the code on even more setups regularly

    Plus upwards of 7 women!

  16. Re:Can this be converted into kloc ? by DrVxD · · Score: 4, Funny

    You could try:

                  DIVIDE SLOC BY 1000 GIVING KLOC.

    --
    Not everything that can be measured matters; Not everything that matters can be measured.
  17. Re:Lines of Code by Randle_Revar · · Score: 2, Funny

    >at 100 characters per line

    No no, you are thinking of Java. Linux is written in C

  18. Re:assembler? by Abreu · · Score: 2, Funny

    I agree. That's why I always write "anal-retentive" as a single word, with a hyphen.

    --
    No sig for the moment.
  19. Re:Lines of Code by TeknoHog · · Score: 5, Funny

    I'm in a software engineering class listening to how to use metrics on code.

    No, you're in a software engineering class posting on Slashdot.

    You are likely to be eaten by a GNU.

    --
    Escher was the first MC and Giger invented the HR department.
  20. Re: so freaking what? by Smauler · · Score: 4, Funny

    the real number of pure code lines: 6.399.191, with 96.4% of them developed in C, and 3.3% using assembler.

    Personally I thought the news was that no one knows what 0.3% of the linux kernel is written in. THAT'S news! (I'm betting it's BASIC).

  21. Re: so freaking what? by colmore · · Score: 4, Funny

    It's COBOL, that crap is still just everywhere.

    --
    In Capitalist America, bank robs you!
  22. Re:Isn't that normal? by MadnessASAP · · Score: 2, Funny

    Well! FOR.GIVE.ME for not having read your previous one sentence interpretaion of an article based on someones opinion of a piece of literature which was authored based on a decades old view of technology. We should all now proceed to read all of AnyoneEBs comments and be enlightened by his genius insights into our world.

    --
    I may agree with what you say, but I will defend to the death your right to face the consequences of saying it.