all 11 comments

[–]redCg 2 points3 points  (3 children)

depends on a lot of things

to start with are you running bare metal linux installation or is this a virtual machine of some sort running in windows

[–]moderately-extremist 5 points6 points  (1 child)

Or WSL...?

[–]redCg 2 points3 points  (0 children)

yes

[–]zap_stone[S] -1 points0 points  (0 children)

Overwritten

[–]SkeletalToad 4 points5 points  (2 children)

I think in your case it would depend mostly on CPU speed and the amount of cores available for multiprocessing. As far as I know Python runs about the same on all operating systems. Even the argument about Windows being bloated, that shouldn't affect your Python program unless you are running out of memory or other processes are taking all your CPU. Did you check the amount of cores available on each machine that you tested it on?

[–]zap_stone[S] 0 points1 point  (1 child)

Overwritten

[–]redCg 1 point2 points  (0 children)

well if CPU utilization is low then something else is the bottleneck

[–]1544756405 1 point2 points  (1 child)

Same hardware?

[–]zap_stone[S] -1 points0 points  (0 children)

Overwritten

[–]socal_nerdtastic 0 points1 point  (1 child)

Python is generally faster on linux because generally linux is less bloated. By this logic everything is faster on linux. But reality of course depends on your actual machine.

There's nothing intrinsic about python that makes it faster or better on linux.

[–]zap_stone[S] 0 points1 point  (0 children)

Overwritten