-
Notifications
You must be signed in to change notification settings - Fork 66
Description
This is based on the conversations referenced in #13
I want to try and have a conversation with the relevant crate authors/maintainers that create their own Array data types in rust. I would like to see if we can get an agreed upon basic data structure and API (Trait) for converting to/from the different types with zero* cost. This issue is intended to be the forum for those discussions. I'm hoping such an effort will be relatively easy and not limit the API's of each individual crate.
Once we get such a crate, we should document it on this site. I think telling the story of why there are different crates is really important because a lot of people expect rust numerical types have a standard in the same way as python does. If you can explain that the conversions are simple and basically free, then explain that they allow for useful features (like array multiplication with *
) I think there will be a lot more support and the ecosystem can thrive with less friction.
This thread is for discussion on this topic and is open to anyone. Particularily welcome are the numerical library crate maintainers.
The proposed name of the crate from me is array-interop
*
zero meaning no copying or moving (in memory) of the arrays, dimensions etc might be lost/gained.