Note: FFMPEG is probably the most prominent library that uses runtime CPU intrinsics detection.
It's written in C so you can port that to Nim (with emit at worst). The only issue is that the code base is quite the behemoth.
Note: FFMPEG is probably the most prominent library that uses runtime CPU intrinsics detection.
It's written in C so you can port that to Nim (with emit at worst). The only issue is that the code base is quite the behemoth.