Re:Why SciPy builds for Python 3.12 on Windows are a minor m...
by nerdponx on Wednesday November 08, 2023 @05:08PM
(#38197826)
Fortunately it should be slowing down now. The big transition was getting everyone on board with PEP 517, especially converting legacy Setuptools projects.
Re:Why SciPy builds for Python 3.12 on Windows are a minor m...
by lmm on Wednesday November 08, 2023 @05:56PM
(#38198448)
I've been hearing something like this about Python builds every two or three years for decades. How long until the next "big transition" is "converting legacy PEP 517 projects"?
Re:Why SciPy builds for Python 3.12 on Windows are a minor m...
by nerdponx on Wednesday November 08, 2023 @07:19PM
(#38199222)
Hopefully never.
Re:Why SciPy builds for Python 3.12 on Windows are a minor m...
by lmm on Wednesday November 08, 2023 @09:21PM
(#38200252)
Hopefully, sure. But why should we believe that this time is different?
Re:Why SciPy builds for Python 3.12 on Windows are a minor m...
by oblvious-earth on Wednesday November 08, 2023 @09:35PM
(#38200365)
The main difference now is there is an actual standard rather than a de facto tool that becomes the standard.
The idea is that different tools may rise and fall in popularity but they should all be following the standard so the compatability breaks should be minimal.
Will it work? No idea, but it's the best attempt to make things work well for everyone yet.
Python 3.12 might be the biggest churn moment, but there are probably a few more down the road, such as dropping legacy version specifiers.
Re:Why SciPy builds for Python 3.12 on Windows are a minor m...
by hurryer on Wednesday November 08, 2023 @06:56PM
(#38198995)
For pure CPU computation Windows is just as fast as Linux since 99.9% of the time it's your code running and not the OS.
Re:Why SciPy builds for Python 3.12 on Windows are a minor m...
by murderfs on Wednesday November 08, 2023 @07:51PM
(#38199444)
Depending on the code you're running, calling convention can matter a lot. The SysV ABI will use xmm/ymm/zmm automatically, whereas on Windows you have to opt into it with __vectorcall.
Re:Why SciPy builds for Python 3.12 on Windows are a minor m...
by sdfhioandion on Wednesday November 08, 2023 @08:14PM
(#38199644)
Not true. Changes to the OS, particularly to the scheduler, can affect CPU-bound work a great deal. It's "your code", but the OS decides when and where it runs. For example, the changes between Linux 6.5 and Linux 6.6 led to a >20% uplift in TensorFlow and some smaller uplifts to Blender. This is the same software on the same hardware.
https://www.phoronix.com/review/linux66-epyc-xeon/3
I couldn't track down a more detailed scheduler-specific benchmark. I remember reading one on Phoronix a few months back...
I'm also curious about performance numbers on Windows (though, to first order, it doesn't matter... anything serious is probably running on a Linux machine).