Hacker News new | ask | show | jobs
Compile-Time Target CPU Feature Detection in C (terroir.systems)
1 points by raindev 34 days ago
1 comments

Personally I prefer run-time detection since that means the same binary can run on multiple different generations of processor, and it's much less confusing for the user who may not even know what a CPU is or which one they have.