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

4

u/pipai_ Nov 13 '20

That seems very strange. Were you running it with full gunicorn setup?

1

u/harylmu Nov 13 '20

No, I haven't used a process manager. I could try but I doubt it'd be much better.

4

u/pipai_ Nov 14 '20

It’s actually very important. Because python has a GIL, you will end up with only running a single thread. Of course the performance will suffer accordingly. You need to set it up like in production, in order to do a real comparison.

Other languages don’t find this necessary because they don’t have a GIL.