News for hackers. Stuff that matters.
Re:Grumpy: Go running Python by dragonwriter on Wednesday January 04, 2017 @01:12PM (#13320588)
Creating a new Python runtime in Go is obviously non-trivial, but so is rewriting the heart of YouTube in Go. Heck, YouTube may be a bigger codebase than Python for all I know.

And there's a lot more side benefit in a better multithreading Python runtime for Google for other Python code Google has (or hosts), whereas the benefits of a YouTube rewrite are more narrowly limited to YouTube.

Re:Grumpy: Go running Python by nilved on Wednesday January 04, 2017 @03:24PM (#13321737)
Just because the site is popular doesn't mean the codebase is big. It's a simple site. I could probably write YouTube in Go in an afternoon and I don't even know Go.
Re:Grumpy: Go running Python by zardeh on Wednesday January 04, 2017 @03:44PM (#13321861)
You could perhaps write a feature-bare clone. Here's some basic features:

    - search (the various search pages)
    - trending
    - channels
    - subscription
    - video uploads
    - history
    - comments
    - likes
    - upload
    - video editing (most of this is in browser, but still)
    - livestream
    - video analytics
    - payment and ad management
    - video comment review and moderation
    - translation
    - captioning
    - video replication, multiscaling, caching, and resolution management based on network speed
    - video recommendation
    - cards, overlays, annotations, etc.
    - music and sound effect search
    - antispam
    - dmca and copyright tooling
And that was 5 minutes of poking around.
Re:Grumpy: Go running Python by X-Istence on Wednesday January 04, 2017 @06:09PM (#13322991)
> resolution management based on network speed

Not so much a feature of YouTube as it is a feature of HLS/Dash... but yes, it means you've gotta transcode the source video into multiple different bitrates.

Re:Grumpy: Go running Python by zardeh on Wednesday January 04, 2017 @08:13PM (#13323838)
Even outside of that, I can override the bitrate in some instances. But yeah, I was mainly talking about the necessary replication, cache, and transcoding (and I actually forgot about the multiple codecs, which they also provide, in addition to multiple resolutions/bitrates)
Re:Grumpy: Go running Python by petters on Wednesday January 04, 2017 @03:58PM (#13321982)
This comment made me wonder what you consider to be a complex site.
Re:Grumpy: Go running Python by nilved on Wednesday January 04, 2017 @04:52PM (#13322405)
Not a video host with comments. That's practically CRUD. A very solved problem.
Re:Grumpy: Go running Python by orf on Wednesday January 04, 2017 @07:34PM (#13323621)
Well, go on then, why spend just an afternoon when you could spend 5 whole days. Make a YouTube that's 10x better, host it from your closet and watch the megabucks roll in as you take down Google.
Re:Grumpy: Go running Python by randomdata on Wednesday January 04, 2017 @07:20PM (#13323516)
But, really, what site cannot be boiled down to practically CRUD? That does not help us understand what you believe is a complex site.

Is this supposed to be some kind of no true Scotsman?

Re:Grumpy: Go running Python by kristianp on Wednesday January 04, 2017 @08:13PM (#13323839)