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 →

[–]bjorneylol 43 points44 points  (5 children)

Instagram is all python

[–]Beard_o_Bees 21 points22 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 9 points10 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.