Live data from Hacker News

Google Is 2B Lines of Code, All in One Place

wired.com

151–160 of 347 posts

Re: Google Is 2B Lines of Code, All in One Place

#151
post #136
post #125

Earlier quoted context omitted.

And why is that number a corporate secret?

I doubt it is, and I don't think I'd get in trouble for sharing it. But, it's not my job to decide whether or not that information should be shared, because it's not my job to speak for the company. I'm having a hard time understanding why people think this is not a reasonable position.

Well, you're the one here teasing everyone about it. Seems like it gives you a hard-on knowing something secret-ish. Pretty typical, I suppose. But please stop acting like you're the shit because you may know a number.

Re: Google Is 2B Lines of Code, All in One Place

#154

Earlier quoted context omitted.

Note that this is just the monolithic repository. Google also has other non-piper repositories containing hundreds of millions of lines too :P For example, android and chrome are git based. Note also that when codesearch used to crawl and index the world's code, it was not actually that large. It used to download and index tarballs, svn and cvs repositories, etc. All told, the amount of code in the world that it coul…

I'm still trying to figure out why having everything dumped in one big pile is something worth bragging about. I'd far rather have code sorted well into proper repositories.

I don't have a strong opinion, but let me turn this around.

Assume the code is sorted well (it is). Why does breaking them into "proper" repositories help anything?

What does "proper" even mean when tons of stuff is shared?

You act as if there is some obvious split that if they had "done it the right way" they would have done. That is 100% not obvious to me.

How do you demarcate these lines, maintain things across these boundaries, etc.

Re: Google Is 2B Lines of Code, All in One Place

#157
post #136

Earlier quoted context omitted.

I doubt it is, and I don't think I'd get in trouble for sharing it. But, it's not my job to decide whether or not that information should be shared, because it's not my job to speak for the company. I'm having a hard time understanding why people think this is not a reasonable position.

Well, you're the one here teasing everyone about it. Seems like it gives you a hard-on knowing something secret-ish. Pretty typical, I suppose. But please stop acting like you're the shit because you may know a number.

I agree. The corporate policy is to not disclose that number, so all that the parent comment translates to is an appeal to authority. "You're wrong because I work for Microsoft and I know better!".

But we're not told what the correct number is, and we have no way of assessing the validity of the claim anyway, so the whole discussion is completely vacuous.

Re: Google Is 2B Lines of Code, All in One Place

#158
post #134

Earlier quoted context omitted.

> single-digit _multiple_ of the entire Netflix movie catalog Strange unit of comparison, although I may start using it.

That's the same as saying "the same order of magnitude"

But while "1" and "9" are the same order of magnitude, so are "1" and "0.1". To say something is within an order of magnitude of netflix, you cover a possible range from 0.1 to 10 times the Netflix catalog, a range which is ten times bigger if you consider the minimum and maximum sizes...

Re: Google Is 2B Lines of Code, All in One Place

#159
post #109

Just because people are talking about it: I work at MSFT, and the numbers Wired quotes for the lines of code in Windows are not even close to being correct. Not even in the same order of magnitude. Their source claims that Windows XP has ~45 million lines of code. But that was 14 years ago. The last time Windows was even in the same order of magnitude as 50 million LOC was in the Windows Vista timeframe. EDIT: And, r…

> single-digit _multiple_ of the entire Netflix movie catalog Strange unit of comparison, although I may start using it.

Well, I remember when Library of Congress and encyclopedias were used as units of measure. I would guess Netflix is the new stack of media.

Re: Google Is 2B Lines of Code, All in One Place

#160
post #97

Its interesting that they compare LoC with Windows. I suppose that this article wants us to be amazed at those numbers. However, my experience with Google's products indicates a gradual decline in performance and a simultaneous gradual increase in memory bloat (Maps, Gmail, Chrome, Android). Which ironically, FWIW, hasn't been the case with Windows. I have noticed zero difference in performance going from Windows 7 t…

I'd have to disagree with this. First the baseline: windows is very slow. Second I found later versions slower. Third (and most maddening) every version of windows I've ever used has gotten slower over time (including not installing new s/w and defragmenting).

Windows is slow? Compared to what? In what task? Running a game? Boot time? Opening Firefox?

I have problems with Windows, but it's the fastest desktop os I think, mostly because it's graphics stack is way the best of all. Running a number crunching C code is exactly the same on Windows or Linux. (See all the benchmarks on the Internet.)

Post reply on HN