News for hackers. Stuff that matters.
Re:Google Is 2B Lines of Code, All in One Place by kazinator on Wednesday September 16, 2015 @03:31PM (#10229187)
I am unable to believe that Google has 2B lines of original code written from scratch at Google.

Maybe they are counting everything they use. Somewhere among those 2B lines is all the source code for Emacs, Bash, the Linux kernel, every single third-party lib used for any purpose, whether patched with Google modifications or not, every utility, and so on.

Maybe this is a "Google Search two billion" rather than a conventional, arithmetic two billion. You know, like when the Google engine tells you "there about 10,500,000 results (0.135 seconds)", but when you go through the entire list, it's confirmed to be just a few hundred.

Re:Google Is 2B Lines of Code, All in One Place by roxmon on Wednesday September 16, 2015 @03:49PM (#10229322)
Google has been around for 17 years and employees roughly 10,000+ software developers. I think it's reasonable to assume that the 2B LOC metric is accurate...
Re:Google Is 2B Lines of Code, All in One Place by hk__2 on Wednesday September 16, 2015 @03:59PM (#10229403)
Windows has been around for 35 years and Microsoft had 61,000+ employees (ok, that’s not only software developers and they don’t work only on Windows) in 2005; and it’s only ~50M LOC. I don’t think the number of years + developpers really show something; you don’t write new code everyday.
Re:Google Is 2B Lines of Code, All in One Place by scott_s on Wednesday September 16, 2015 @04:07PM (#10229461)
You pointed it out yourself, but I think you underestimated its importance: Microsoft works on many other things. Office, XBox, Windows Phone, Exchange, SQL Server, .Net, etc. I suspect Microsoft's total line count is similar to Google's. The difference, however, is that it's not one codebase.
Re:Google Is 2B Lines of Code, All in One Place by sp332 on Wednesday September 16, 2015 @03:46PM (#10229290)
Yes, that is counting everything. It's "the software needed to run all of Google’s Internet services" (so probably not Emacs, but the other stuff). But it's all in the repo, and it all has to be maintained.
Re:Google Is 2B Lines of Code, All in One Place by hokkos on Wednesday September 16, 2015 @04:03PM (#10229432)
> Google engineers modify 15 million lines of code across 250,000 files each week > Google’s 25,000 engineers

So employees modify 120 lines / day if we imagine a linear growth in employees in 17 years to 25K coders, with 250 work day a year they employ around 6 more coders each work day, so about 55M man day, so around 6,3G LOC modified. But modified != added, so I wound't believe this is all their own lines.

Re:Google Is 2B Lines of Code, All in One Place by hanwenn on Thursday September 17, 2015 @12:03PM (#10234129)
most of the non-google code is stored in a special subdirectory, and AFAICT, it's less than 10% of the total.