News for hackers. Stuff that matters.
Re:7 Years Of YouTube Scalability Lessons In 30 Minutes by apu on Monday March 26, 2012 @11:41PM (#3759912)
At 11:28 he says, "at last count, there was over a million lines of python running this thing"

Having never worked with code-bases larger than ~50kloc, I have a lot of trouble understanding what 1 million lines of code is needed for, especially considering that python is such a high-level language.

Does anyone have any idea why there would be this much code?

Re:7 Years Of YouTube Scalability Lessons In 30 Minutes by quink on Tuesday March 27, 2012 @02:56AM (#3760394)
> Does anyone have any idea why there would be this much code?

It's the world's 3rd biggest website with hundreds of billions of views and dozens of millions of users, so maybe that's why.

I think it's a credit to Python that a website that does that and has grown in a fairly haphazard fashion only has about 1000k SLOCs.

Re:7 Years Of YouTube Scalability Lessons In 30 Minutes by apu on Tuesday March 27, 2012 @04:14PM (#3763381)
Oh, it wasn't meant to be snarky or a slam -- I'm honestly just curious what kinds of things require so much code? E.g., is it one or two things that dominate usually in codebases this size, or is it just a LOT of components, each of which is tens of thousands of lines long? Do these kind of counts usually include auto-generated code?
Re:7 Years Of YouTube Scalability Lessons In 30 Minutes by nikcub on Tuesday March 27, 2012 @04:53AM (#3760638)
that would be 1M LOC split across all the projects, libraries and modules.