Live data from Hacker News

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

wired.com

251–260 of 347 posts

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

#251

Are the source of piper and the build tools also in the mono repo and also developed/deployed off the head branch? Seems like a random engineer could royally fubar things if they broke a service which the build system depends on ...

Everything has to go through pre-submit checks before it makes it to HEAD. And if you get it past those and it starts breaking stuff, there are robots that will automatically roll back your change if it breaks enough stuff.

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

#252
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.

Uh, how much is it actually? (Simple searching didn't seem to get me the answer.)

We should have a list of these things.

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

#253
post #226
post #158

Earlier quoted context omitted.

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

You seem to live in a base-tenny world. Many nerdies train themselves to do hex mental math in kindergarten, and the geekies do it base-36 because those extra letters "are there". So perhaps a 256 to 1296 multiplication ratio (those 2 numbers there are in base 10) .

the order of magnitude is well known to be defined in base 10. That's regardless of your base of choice.

https://en.wikipedia.org/wiki/Order_of_magnitude

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

#254
post #119
post #114

Earlier quoted context omitted.

So, how many lines of code does it have?

I can't say. I work here, but I don't speak for the company.

Wouldn't it be nice if by working there you felt empowered to speak for the company? The company is you and your colleagues.

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

#255
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.

Because in a room full of interested people you said "I know something you don't." and the "ner ner ne-ner ner" was implied.

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

#256
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).

People defrag modern SSDs?

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

#257
post #158
post #134

Earlier quoted context omitted.

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

Um, 0.1 and 1 are not considered the same order of magnitude.

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

#259
post #176

Assuming these numbers are right... (15 million lines of code changed a week) / (25,000 engineers) = 600 LOC per engineer per week Is ~120 LOC per engineer per workday normal at other companies?

I write between 4-600 lines of code a day where I work... I feel that 120 LOC is a day is on the smaller side (of what I'm used to anyway).

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

#260
post #158
post #134

Earlier quoted context omitted.

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

He didn't say "within an order of magnitude", he said, "the same order of magnitude." There is a difference.
Post reply on HN