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

no_std support #5

Closed
Lokathor opened this issue Jul 11, 2019 · 3 comments
Closed

no_std support #5

Lokathor opened this issue Jul 11, 2019 · 3 comments
Labels
enhancement New feature or request

Comments

@Lokathor
Copy link

You mention in the readme that you'd like to have no_std support, what are the current blockers?

@bitshifter
Copy link
Owner

rust-lang/rfcs#2505 is the blocker. I had a look at what nalgebra did, which was to let you link your own math functions. I'm not sure if that's the best approach (i.e. I really have no idea), I wasn't keen to just do what nalgebra did without knowing if it was actually a good solution. Potentially glam could just define it's own trig an sqrt functions. That would be an alternative approach to being no_std.

@Lokathor
Copy link
Author

oh, right. I've spent the past few days safe wrapping sse/sse2 for my core only crate and somehow i still totally forgot that there's no sqrt in core itself.

I'll look in to pure rust sqrt/sin/cos soon and if I find anything promising I'll bring it here too.

@bitshifter bitshifter added the enhancement New feature or request label Jul 22, 2019
@bitshifter
Copy link
Owner

Fixed by #88

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants