Ask HN: What are the code bases like at the really big product companies?
4 comments
There are plenty of open-source projects where there are WAY more than 4 contributors/team members. The Python language implementation. LLVM. Linux. Firefox. Have a look.
Google has written a bit about their monorepo culture. Here, for example: https://cacm.acm.org/magazines/2016/7/204032-why-google-stor...
Google has written a bit about their monorepo culture. Here, for example: https://cacm.acm.org/magazines/2016/7/204032-why-google-stor...
[deleted]
Check this out to browse what they are using: https://stackshare.io/stacks
Find some open source projects by them, and have a look: https://github.com/Microsoft/vscode
Find some open source projects by them, and have a look: https://github.com/Microsoft/vscode
Really similar to any other repo you've seen. I would say the biggest difference is that there are many private libraries being used liberally. It's odd to see that sprinkled in throughout, whereas most codebases you understand where/why all the libs are being used. Maybe that sounds obvious but consider that big companies are going to use their own versions of some popular libs.
But speaking of that, another diff is that the big companies do often use popular libs, but the versions in use are quite behind. Usually because they have a policy to thoroughly review any libs first, even version upgrades.
Usually all code is public, as most companies trust their employees and consider that bad actions could happen even with all the protections. An exception to this is that I've heard some parts of Android isn't public to all employees at Google.
It's also interesting that some companies put the entire codebase under 1 repository.
But speaking of that, another diff is that the big companies do often use popular libs, but the versions in use are quite behind. Usually because they have a policy to thoroughly review any libs first, even version upgrades.
Usually all code is public, as most companies trust their employees and consider that bad actions could happen even with all the protections. An exception to this is that I've heard some parts of Android isn't public to all employees at Google.
It's also interesting that some companies put the entire codebase under 1 repository.
For those that have that kind of experience, what's it like?