[Numpy-discussion] Byte aligned arrays
sturla at molden.no
Thu Dec 20 15:13:53 EST 2012
On 20.12.2012 21:03, Henry Gomersall wrote:
> Why is it important? (for my own understanding)
Because if CRT resources are shared between different CRT versions, bad
things will happen (the ABIs are not equivalent, errno and other globals
are at different addresses, etc.) Cython code tends to share CRT
resources with Python. For example, your Cython code might (invisibly to
us) invoke malloc to allocate space for an objent, and then Python will
later call free. This should perferably go through the same DLL.
Another thing is that msvcrt.dll is for Windows own system resources,
not for user apps.
More information about the NumPy-Discussion