[HN Gopher] Faster C software with Dynamic Feature Detection
___________________________________________________________________
Faster C software with Dynamic Feature Detection
Author : todsacerdoti
Score : 38 points
Date : 2026-03-04 18:33 UTC (4 hours ago)
(HTM) web link (gist.github.com)
(TXT) w3m dump (gist.github.com)
| pjmlp wrote:
| While using C extensions, and yes Microslop rather have you using
| C++.
|
| https://herbsutter.com/2012/05/03/reader-qa-what-about-vc-an...
|
| Even if in recent years after tbat post they added support for
| C11 and C17, minus some stuff like aligned mallocs.
| BearOso wrote:
| For function-multiversioning, the intrinsic headers in both gcc
| and clang have logic to take care of selecting targets. You also
| don't need to do dispatch manually when writing manual
| optimizations--the same function name with different targets is
| supported and dispatches automatically.
___________________________________________________________________
(page generated 2026-03-04 23:00 UTC)