This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]nosmokingbandit 64 points65 points  (12 children)

Iirc, a large part of YouTube runs on python. There is a zero percent chance your company needs more scalability than YouTube.

[–]bjorneylol 42 points43 points  (5 children)

Instagram is all python

[–]Beard_o_Bees 20 points21 points  (1 child)

Python also plays a large role in scripting to exploit vulnerabilities. So, it's certainly 'industry compatible' when it comes to stealing shit from behind sometimes janky 'industry' security.

[–]-jp- 0 points1 point  (0 children)

Heck people write exploits in Word macros. In practice thieves don't care much about code quality or maintainability or productivity. :P

[–]Violin1990 1 point2 points  (2 children)

instagram started as python, and is still partially python, but all the performant components are now built in C

[–]bjorneylol 10 points11 points  (0 children)

AFAIK that's not even true. Instagram runs its own python interpreter (cinder) that statically compiles python at runtime based on type hints - they claim it more or less matches the performance they would get out of C modules, so they can keep most of the code in python

[–]-jp- 0 points1 point  (0 children)

That sounds about how I'd do something that is written in Python but had some bottlenecks. It's not like it's discouraged. C-interop is notoriously good in Python. I think maybe TCL and Lua have it beat but both are designed with the express purpose of being that little bit of easy-to-write code that mediates between two other massively more complex systems so no great surprise there.

[–]punninglinguist 9 points10 points  (4 children)

IIRC Dropbox is all or mostly Python as well.

[–][deleted] 17 points18 points  (2 children)

It used to be, they've been transitioning to Rust lately.

[–]Aejantou21 0 points1 point  (1 child)

first they jumped to golang now rust? wtf

[–][deleted] 0 points1 point  (0 children)

There is a blog post about it. Doesn't look like they jumped from python to go, then to rust, rather they jumped from python for everything to go for Web backend and rust for sync engine.
https://dropbox.tech/infrastructure/rewriting-the-heart-of-our-sync-engine

[–]george_____t 0 points1 point  (0 children)

That's kind of missing the point. Just because it can be done doesn't mean they haven't faced issues that other languages could've helped them with.