rust-lang/stdarch
View on GitHub ↗ ★ 699 Rust
Rust's standard library vendor-specific APIs and run-time feature detection
3 mentions on Hacker News by 2 people: 0 stories, 3 comments · first 2025-03-16 · latest 2025-03-30
20082026
-
…example: https://rust.godbolt.org/z/e1WYexqWY Also there's progress on making safe intrinsics safe: https://github.com/rust-lang/stdarch/pull/1714
comment by dzaima · 2025-03-30 · in Towards fearless SIMD, 7 years later -
Looks like as of 2 weeks ago the unsafe block should no longer be required: https://github.com/rust-lang/stdarch/pull/1714 ..at least outside of loads/stores. From a bit of looking at the code though it seems like a good amount of those…
comment by dzaima · 2025-03-16 · in Zlib-rs is faster than C -
…is enabled through the target_feature 1.1 RFC. In fact, it has already been merged two weeks ago: https://github.com/rust-lang/stdarch/pull/1714 The change is already visible on nightly: https://doc.rust-lang.org/nightly/core/arch/x86/fn._m…
comment by CryZe · 2025-03-16 · in Zlib-rs is faster than C