Earlier quoted context omitted.
They ended up compiling PHP to assembly! Facebook is a company that will go to ridiculous lengths to avoid rewrites.
Was there a separate initiative for assembly, or are you thinking about HipHop? HipHop was for C++ and got a lot of attention back when it was released.
Backend of Meta Threads is built with Python 3.10
241–250 of 458 posts
Re: Backend of Meta Threads is built with Python 3.10
#242Earlier quoted context omitted.
Is your problem that the c part of GDAL isn't concurrent and you are calling it multiple times, or are you blocking on something you shouldn't? Python calling a concurrent c thing is super common. For more complex things there is multiprocessing, but that essentially is simplification of IPC.
Had a massive amount of images that I was trying to process for a specific purpose. I wound up spinning up multiple python processes within a java wrapper using concurrent linked queues. Got the job done but it's not the proudest moment of my life.
Re: Backend of Meta Threads is built with Python 3.10
#243Earlier quoted context omitted.
Was there a separate initiative for assembly, or are you thinking about HipHop? HipHop was for C++ and got a lot of attention back when it was released.
I was thinking about HHVM, which I believed was essentially assembly for a VM. Am I wrong on that?
Re: Backend of Meta Threads is built with Python 3.10
#244I worked on Cinder, and on the web server. Happy to answer technical questions if any :)
Re: Backend of Meta Threads is built with Python 3.10
#245I worked on Cinder, and on the web server. Happy to answer technical questions if any :)
Re: Backend of Meta Threads is built with Python 3.10
#246For the “Python isn’t fast enough for production backend” crowd from the same company that brought you the largest social network built on PHP + MySQL.
Re: Backend of Meta Threads is built with Python 3.10
#247Earlier quoted context omitted.
They ended up compiling PHP to assembly! Facebook is a company that will go to ridiculous lengths to avoid rewrites.
Rewriting in hip-tech-du-jour is for startups with lots of funding and little of traction. Why would a massively successful company toss a stick in their own spokes by tearing the product to ground?
Re: Backend of Meta Threads is built with Python 3.10
#248Earlier quoted context omitted.
For me, it does seem really strange since PHP (currently) is faster than Python and PHP wasn't fast enough for Facebook. But it's interesting to see how it'll play out.
Probably Python is deemed as more appealing to hipsters than good old PHP.
Re: Backend of Meta Threads is built with Python 3.10
#249Re: Backend of Meta Threads is built with Python 3.10
#250For the “Python isn’t fast enough for production backend” crowd from the same company that brought you the largest social network built on PHP + MySQL.
Yep, Vanilla Python isn't fast enough so they have to do more: "It's running on Instagram's #Cinder fork that includes a JIT, lazy-loaded modules, pre-compiled static modules, and a bunch of other interesting tweaks against vanilla Python 3.10" From the Tweet. Personally, I don't care what language people use. We all know that if you have money, you can just throw in more servers. Until your CFO and CTO decided that…
Definitely not true at Facebook scale. You need to be smart, fast, _and_ throw more servers at it.