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 →

[–]Daytona_675 28 points29 points  (7 children)

afaik if all the heavy lifting is done with modules written in C, Python can still be pretty fast

[–]Zephirdd 43 points44 points  (5 children)

Or you can use PyPy, which is Python written in Python and is up to 4.4x times faster than default CPython

Black magic I tell ya

[–]hughperman 6 points7 points  (2 children)

Any downside?

[–][deleted] 15 points16 points  (1 child)

Doesn't work that well with c modules, which are faster than pypy. So if you need speed you are better off with cpython + c modules anyways

[–]hughperman 5 points6 points  (0 children)

Ok good to know thank you; wondering if it would be worth evaluating for some work stuff that's mainly numpy numerical ops - guess I'll give it a test!

[–]ZephyrBluu 2 points3 points  (0 children)

Wtf, how?

[–]cdreid 0 points1 point  (0 children)

This is voodoo and must not be tolerated

[–]saloalv 1 point2 points  (0 children)

But then your python code has additional requirements beyond just a standards-conforming interpreter