[Numpy-discussion] Removing `np.f2py.compile`

2023-11-16 Thread Rohit Goswami
Hello. As part of the spring cleanup for NumPy 2.0 I'm soliciting opinions on the removal of the numpy.f2py.compile() function (documented here (https://link.getmailspring.com/link/937e4c5c-47d5-40d9-89bb-8fc04b19d...@getmailspring.com/0?redirect=https%3A%2F%2Fnumpy.org%2Fdoc%2Fstable%2Ff2py%2Fus

[Numpy-discussion] Re: Switching default order to column-major

2023-11-16 Thread Valerio De Benedetto
Thanks to everyone for your answers. I guess the conclusion is that changing the default ordering will do more harm than good. So, considering the C API, what do you advise to use to copy a (probably) row-major ndarray into a data structure that is always column-major? Like some kind of iterato

[Numpy-discussion] Assessment of the difficulty in porting CPU architecture for numpy

2023-11-16 Thread xuanbao via NumPy-Discussion
Hello everyone! I am working on implementing a tool to assess the complexity of CPU architecture porting. It primarily focuses on RISC-V architecture porting. In fact, the tool may have an average estimate of various architecture porting efforts.My focus is on the overall workload and difficulty

[Numpy-discussion] Re: Switching default order to column-major

2023-11-16 Thread Valerio De Benedetto
Thanks to everyone for your answers. I guess the conclusion is that changing the default ordering will do more harm than good. So, considering the C API, what do you advise to use to copy a (probably) row-major ndarray into a data structure that is always column-major? Like some kind of iterato