r/Python • • Nov 13 '20

News Python swallows Java to become second-most popular programming language

https://www.theregister.com/2020/11/12/python_swallows_java_to_become/
2.3k Upvotes

205 comments sorted by

View all comments

Show parent comments

114

u/[deleted] Nov 13 '20

Better performance?¯_(ツ)_/¯

25

u/JoelMahon Nov 13 '20

Just need to write something to turn python code into optimised c++ then, ez pz

Tbh, a human can do that part usually quite quickly, use python to invent, c++ for real time critical deliverables after python proves the concept

5

u/xigoi Nov 13 '20

You can't do that because of eval() and friends.

1

u/VisibleSignificance Nov 13 '20

because of eval() and friends

You shouldn't really use those in runtime either.

And if it's at import-time in python (e.g. attrs), it should map into compile-time nicely.