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

Get rid of feature macros #7

Open
drahnr opened this issue Jun 28, 2017 · 1 comment
Open

Get rid of feature macros #7

drahnr opened this issue Jun 28, 2017 · 1 comment

Comments

@drahnr
Copy link
Member

drahnr commented Jun 28, 2017

Max:

Rust "impl specialization" should land Rust 1.9(?) (PR here: rust-lang/rust#30652).

That feature should hopefully allow us to better determine the capabilities of the different frameworks that are compiled in and use more performant operations if possible. Currently we handle this via ugly feature attributes which rely on our knowledge of the implemented operations rather than the type system. The current system of feature flags also requires us to "dumb down" the backends to the capabilities they all have in common in order to retain the backend portability.

@drahnr
Copy link
Member Author

drahnr commented Sep 29, 2020

The underlying rustc has been fixed a few years back, so there really is no point to not tackle this.

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

No branches or pull requests

1 participant