No tweaks mentioned at all inside. The title is wrong. Kinda weird to start a new project that needs to scale with Python though (I use Python most of the time).
Backend of Meta Threads is built with Python 3.10
21–30 of 458 posts
Re: Backend of Meta Threads is built with Python 3.10
#22Earlier quoted context omitted.
Yet here it is ... powering a global scale app. Too weak for someones hobby project, strong enough for global scale.
My few years of personal experience of using Python with even small-ish scale professional projects have been... underwhelming so far. I wonder how Meta (and Google, and all the others who write serious Python code) manage to keep things running – and I'm not talking (only) of performance, but largely of bugs. My personal suspicion is that the secret sauce is simply to have a sufficient budget to hire an army of code…
The first one is a big productivity booster as it shows you bugs before you commit them.
Here's a post about this, not exactly new but still describing the general principles very well: https://instagram-engineering.com/static-analysis-at-scale-a...
Re: Backend of Meta Threads is built with Python 3.10
#23Earlier quoted context omitted.
Yet here it is ... powering a global scale app. Too weak for someones hobby project, strong enough for global scale.
My few years of personal experience of using Python with even small-ish scale professional projects have been... underwhelming so far. I wonder how Meta (and Google, and all the others who write serious Python code) manage to keep things running – and I'm not talking (only) of performance, but largely of bugs. My personal suspicion is that the secret sauce is simply to have a sufficient budget to hire an army of code…
When people are hyper critical of Python I feel it’s typically they haven’t seen real professional Python before and just throw scripts around… if you work with some hardened Python pros you pick up the tricks really quickly and it’s very enlightening.
I’ve always struggled to find all of those tricks in one online resource personally.
Re: Backend of Meta Threads is built with Python 3.10
#24No point in supporting that user-hostile tire fire.
This could have been on Mastodon.
Re: Backend of Meta Threads is built with Python 3.10
#25Earlier quoted context omitted.
Yet here it is ... powering a global scale app. Too weak for someones hobby project, strong enough for global scale.
So Google and Dropbox, who switched to Golang, are hobby projects.
Team best practices, enforcement of coding style and technique, good project management, infrastructure, and team cohesion etc.
And weeding out bad engineers who think that "switching to a new [language|framework|religion]" will solve all problems.
10+ years ago Facebook itself did a remarkable job of scaling up, with hardly any outages, a PHP LAMP stack thingy to one of the hugest traffic websites in the world. Meanwhile back then Twitter mucked around with every novel technology they could find or invent, and had constant outages.
Also Google didn't "switch to Golang." There's plenty of C++, Java, Python there. I worked there for 10 years and encountered only a handful of Go projects. Lots of cloud services in C++.
Would I personally choose Python for a project? No, I don't like it, and I work in Rust full time because I prefer it. But if I worked at Meta / Instagram and had a team of Python engineers and existing libraries & infrastructure, this would be the right approach.
Re: Backend of Meta Threads is built with Python 3.10
#26Ironic that a post about Threads backend is hosted on twitter.
Get it? Threads, threading...? OK, I'll see myself out.
Re: Backend of Meta Threads is built with Python 3.10
#27Can we block Twitter links on HN? No point in supporting that user-hostile tire fire. This could have been on Mastodon.
Re: Backend of Meta Threads is built with Python 3.10
#28Ironic that a post about Threads backend is hosted on twitter.
Threads is a mobile-only app, like Instagram. You can't actually use Threads on a desktop browser, so that's probably why this is shared as a Twitter post. Even if it were a Threads post, it would not be submittable to HN.
Edit: Someone kindly pointed out that you can see the content in the browser without an account from following a direct link. (You just can't have the app installed or it will open that and drop you on the login page.) This makes me a lot happier with the product!
Re: Backend of Meta Threads is built with Python 3.10
#29Earlier quoted context omitted.
Why downvote this? It's a fair point.
A fair point about what? Threads is out for less than a day, I have 8 followers there so far. I originally posted this information on Mastodon, actually: https://mastodon.social/@ambv/110665808046065754 However, I have a much larger following on Twitter, so it was the tweet that got picked up by someone here on HN. We'll see how this looks like in twelve months.
Edit: Someone kindly pointed out that you can see the content in the browser without an account from following a direct link. (You just can't have the app installed or it will open that and drop you on the login page.) This makes me a lot happier with the product!
Re: Backend of Meta Threads is built with Python 3.10
#30Can we block Twitter links on HN? No point in supporting that user-hostile tire fire. This could have been on Mastodon.