Y
Hacker News
new
|
ask
|
show
|
jobs
by
lower
3083 days ago
Something like this exists with function multi-versioning:
https://lwn.net/Articles/691932/
For example, glibc chooses optimised machine code for memcpy depending on the CPU it runs on.