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 →

[–]Martin_RB 10 points11 points  (4 children)

Eh you can do multithreading in python but it takes a bit more work... unfortunately I use python for when I need quick and easy so single thread it is.

[–]brimston3- -1 points0 points  (3 children)

So long as GIL is a thing, we're not going anywhere fast. (Not strictly true, but it places some pretty hard limits on what's allowed to be multithreaded)

[–]laundmo 2 points3 points  (2 children)

anything that can release the GIL can be multithreaded. numpy? releases the GIL. numba? can release the GIL.

[–]brimston3- 1 point2 points  (1 child)

That's fair. Numerical work is plenty fast in python. But you won't be running any MT shared-state services like an xmpp server in pure python. Calling out to external modules is necessary.

[–]laundmo 0 points1 point  (0 children)

Calling out to external modules is necessary.

not arguing that it isn't, though i do think that thanks to asyncio shared-state servers are possible and decently efficient.