Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

cpu feature detection is way easier in rust. its just built into the core libs.


Doesn’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.


And?

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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: