3 ms·
cpu feature detection is way easier in rust. its just built into the core libs.
by gameswithgo 6y ago
cpu feature detection is way easier in rust. its just built into the core libs.
- colejohnson66 6y agoDoesn’t gcc have a CPU feature branching system? You use it by attaching attributes to functions that say what instructions are required. Granted, it’s not as “elegant” as Rust, but it does exist.
- bsder 6y agoAnd? These are the kind of things that make working in one language different from another. I'd actually like to see the SSE version in C so I can compare the two implementations and how much grief you have to go through.