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…
So, how many lines of code does it have?
Google Is 2B Lines of Code, All in One Place
271–280 of 347 posts
Re: Google Is 2B Lines of Code, All in One Place
#272Earlier quoted context omitted.
> The solution to the excessive API change problem is to force > whoever changes the API to fix all the consumers himself > before the change is accepted. This doesn't seem scalable. Let's consider the case of one api endpoint being changed by one developer, to add a new param to a function call. Further assume that this impacts hundreds of projects. Does it really make sense to make one developer update those hundre…
It maybe isn't scalable, but that's part of the benefit. If you want to make a change to a widely-used API, it's going to be a lot of work, and it's not going to be a lot of work for the users of the API, it's going to be a lot of work for _you_ because _you_ are required to do it yourself. This prevents a lot of API churn unless the benefit is clear and sufficiently large. If it was any other way you'd rapidly reach…
Re: Google Is 2B Lines of Code, All in One Place
#273Re: Google Is 2B Lines of Code, All in One Place
#274What I'd like to know and no one seems to mention: What's the experience like for teams not running a Google service and instead interacting with external users and contributors, e.g. the Go compiler or Chrome.
Many larger external projects are hosted in other repositories (Chrome and Android are well-known examples). Smaller stuff (like, say, tcmalloc or protocol buffers) is usually hosted in Piper and then mirrored (sometimes bidirectionally) to an external repository (usually GitHub these days).
So in these scenarios, what does Google's infrastructure buy you, if anything? And if it doesn't buy you anything, how does that influence Google culture? Are teams less willing to do real open development due to infrastructure blockage?
Re: Google Is 2B Lines of Code, All in One Place
#275Earlier quoted context omitted.
I can't say I'm surprised to see people eager to point out how Windows sucks. And sure, maybe it does. However, the fundamental point you're missing is that I don't think that Windows was ever positioned as this OS that was designed for every single type of workload out there (not withstanding marketing noise). Windows is a very general purpose OS meant for general purpose 'mainstream' things. Things that hundreds of…
At least you don't ever really need to defragment ext4, unlike NTFS.
Re: Google Is 2B Lines of Code, All in One Place
#276Earlier quoted context omitted.
Can you (or somebody) explain how that works in practice? Here I am ready to deploy some new feature to gmail. In the meantime, I'm getting a steady stream of API changes. Can I build and release gmail to a specific revision number, and only incorporate the changes when I am ready, or are all release essentially off of the tip of the tree. I don't need specifics, just the general idea. Where we work basically every p…
Every feature has a flag that you can turn on/off to your heart content. Releases are cut at head. No need to use the version control hammer to screw all the zippers.
How are conflicts managed?
Re: Google Is 2B Lines of Code, All in One Place
#277Assuming 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?
Would be interesting to know what percentage of the total LoC touched are typically from that kind of automated refactor. Depending on the codebase, you can touch a ton of lines of code in a very small amount of time with those tools.
Re: Google Is 2B Lines of Code, All in One Place
#278Earlier 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.
This comment breaks the HN guidelines. We ban accounts that do this repeatedly. Please post civilly and substantively, or not at all.
Re: Google Is 2B Lines of Code, All in One Place
#279Steve Yegge, from Google, talks about the GROK Project - Large-Scale, Cross-Language source analysis. [2012] https://www.youtube.com/watch?v=KTJs-0EInW8
Re: Google Is 2B Lines of Code, All in One Place
#280Earlier quoted context omitted.
> 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.