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

Native impls #328

Merged
merged 8 commits into from
Oct 20, 2023
Merged

Native impls #328

merged 8 commits into from
Oct 20, 2023

Conversation

Licenser
Copy link
Member

This PR adds a native implementation that can act as a fallback for platforms that do not support any of the implemented architectures.

As a addition, it adds a std::simd implementation that would allow for native (but possibly not as optimized) simd on any platform that supports rust, but since this feature is a nightly feature, it is guarded behind the portable feature flag

src/portable/stage1.rs Outdated Show resolved Hide resolved
@Licenser
Copy link
Member Author

this requires rusticstuff/simdutf8#83 to be merged and released to, we depend on simdutf8 for string validation

@Licenser Licenser force-pushed the native-impl branch 3 times, most recently from 360cc04 to fd6f72f Compare October 20, 2023 10:52
Signed-off-by: Heinz N. Gies <[email protected]>
Signed-off-by: Heinz N. Gies <[email protected]>
Signed-off-by: Heinz N. Gies <[email protected]>
@Licenser Licenser merged commit 3dcb52d into main Oct 20, 2023
205 of 207 checks passed
@Licenser Licenser deleted the native-impl branch October 20, 2023 13:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Native rust implementation as fallback for unsupported architectures
2 participants