RustFFT icon indicating copy to clipboard operation
RustFFT copied to clipboard

no_std support?

Open mert-kurttutan opened this issue 2 years ago • 4 comments

It seems that no_std support is not available. Is there any plan for this ? How hard would be it to implement it ? I would very much appreciate your comment on this issue.

mert-kurttutan avatar Aug 26 '23 10:08 mert-kurttutan

See https://github.com/ejmahler/RustFFT/issues/116

HEnquist avatar Aug 26 '23 10:08 HEnquist

Ohh, I searched for no_std, did not come up :), thanks

mert-kurttutan avatar Aug 26 '23 10:08 mert-kurttutan

I could not understand reason why though?. Is there any part of the crate that is not suitable for no_std (of course other than simd optimized parts)? Or is it not within the goal of this project ?

mert-kurttutan avatar Aug 26 '23 11:08 mert-kurttutan

Well RustFFT relies on the standard library for a number of things. There are hashmaps, arcs, vecs etc. It would take a major redesign of the entire library to remove the std dependency, if it's even feasible.

HEnquist avatar Aug 26 '23 20:08 HEnquist