Comment by gameswithgo
8 years ago
it can, you generate all desired version of simd-ified function at compile time, then write a function to select the right one at runtime.
that is what the Rust libs are doing, just using traits or macros instead of templates.
No comments yet
Contribute on Hacker News ↗