Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add pure rust implementation #21

Open
iverks opened this issue Jul 10, 2023 · 2 comments
Open

Add pure rust implementation #21

iverks opened this issue Jul 10, 2023 · 2 comments

Comments

@iverks
Copy link

iverks commented Jul 10, 2023

Hey. In order to improve the beginner-friendliness of this library I think it would be cool to add a pure rust backend.

I have found two candidates blasoxide and libblas. For me blasoxide doesn't compile out of the box. The author seems to have tried to get his library used in ndarray and nalgebra, but didn't succeed, and has later stopped working on this.

The latter crate works fine for me. Although no changes have been made in 4 years it seems to be the better candidate. From what I can tell it is compatible with BLAS, except for using generics to distinguish between f64 and f32 instead of having two versions of each function

@jedbrown
Copy link
Member

I think you'd be better off putting a BLAS wrapper around faer, which has excellent performance, support for double-double, and LAPACK-level functionality.

@iverks
Copy link
Author

iverks commented Jul 10, 2023

I hadn't heard about that library, but it looks very cool. It actually seems there is an active development related to this. Thank you for the heads up. If that effort leads anywhere then that will probably be the better solution since the library actually is maintained.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants