Elektrine lite

← Feed

@hsivonen@mastodon.social

Post #4310491

2026-07-30 20:48 UTC

Two things where Rust chooses principle over practicality with SIMD and that annoy me right now: 1. Calling a function annotated with a target_feature from a function not so annotated requires unsafe even if the target_feature is statically enabled. (E.g. sse2 on x86_64.) 2. is_x86_feature_detected! is in std rather than core despite using an instruction and not a syscall. (There is even https://docs.rs/core_detect/ .)

Replies (0)

No replies.