Open TheButlah opened 3 years ago
See also: https://github.com/PyO3/rust-numpy for how rust does this with python's NumPy library.
Is there any interest in adding rust as a supported language, [...]
Definitely, that would awesome!
[...] and what would something like that look like?
I'm not familiar with Rust nor the way to expose C++ API to it, but I guess being able to wrap the N-dimensional array from Rust would be a good start. I'm afraid that conversion avoids changing the array in place; on the other hand, that might be something you want to guarantee and in that case a conversion totally makes sense.
Hi! It would be awesome to have the ability to have a
xt::rusttensor
much likext::pytensor
. Is there any interest in adding rust as a supported language, and what would something like that look like?A conversion from
xt::tensor
tondarray::Array
and vice versa would be more than sufficient and is probably the ideal approach.