[Numpy-discussion] Byte aligned arrays
Thu Dec 20 14:13:53 CST 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