-
Notifications
You must be signed in to change notification settings - Fork 6
Description
Hello!
I am an occasional numpy core developer, and I have a couple of questions and suggestions that might help getting this work used in the numpy community.
First, do you need this to be a fork of numpy? I haven't reviewed all of your modifications, but it seems to me that you are mostly adding a new dtype for posits. numpy does have the facility for new dtypes to be added by third-party packages without having to modify numpy itself. The support isn't necessarily the greatest, but if you run into issues, we'd like to hear about them; we would like to fix them to make life easier for you. You can see the numpy-quaternion
package as an example of providing a new dtype. We very much encourage this approach.
If you do need to modify numpy itself, do you intend to propose merging this work into upstream numpy? If so, I recommend following the git workflow outlined in the Numpy Developer's Guide. Specifically, in your Github fork, leave the master
branch untouched and work in a separate branch. This will help you stay up to date with upstream development and facilitate comparisons with the mainline development through the Github interface. When you are ready, you can just make a PR to numpy.
The problem with maintaining a true fork of numpy is that users are going to have problems deploying packages that depend on numpy-posit
and other packages that depend on numpy
proper. pip
and other package management tools don't necessarily work particularly well in such cases.
In any case, I wish you the best of luck! I look forward to experimenting with posits in the future! Thank you for your attention.