3 ms·
Just as a data point - Chrome has more code than the linux kernel - Would you say BioShock Infinite seriously has a larger code base than Chrome? I think a lot
by inglor 9y ago
Just as a data point - Chrome has more code than the linux kernel - Would you say BioShock Infinite seriously has a larger code base than Chrome?
I think a lot of people don't estimate correctly just how huge Chrome is.
- mmarks 9y agoI would expect kernels to be quite small (#file, line-count) compared to major Applications like Unreal Games and Civilization 5. I've never worked on Chrome, but I can safely say the amount of source code in a few Unreal Games and Civilization5 dwarfs the drivers and OS code I've worked on. Take Unreal then add a team of developers adding onto it for multiple years thru multiple releases. Then add all the middleware (Havok, AudioEngines, NaturalMotion). OS are much larger than kernel, I'd guess all the driver code exceeds the actual kernel. People always think they code base is large, but having built most of the Call of Duties and many Unreal games, all the OS code I've worked on is trivial in size comparison. There is probably something bigger, but games seem bigger than many major apps in my experience.
- joshuamorton 9y agoFor reference, the kernel has ~15 million LoC, and according to a not exactly reliable or verifiable infographic on reddit, BioShock infinite contains 631 miles, which would be between 3 and 10 million LoC.
- mirekrusin 9y agoAlso, Linux kernel is C vs the mentioned rest C++.
- vborovikov 9y agoWhy is it so big?
- SolarNet 9y agoIt's an operating system (pretending to be a browser).
- marcosdumay 9y agoIt is also an interpreter for a big number of convoluted (and a bigger still of non-convoluted) languages.