Hacker News .hnnew | past | comments | ask | show | jobs | submitlogin

In C#, you can write (pseudo-code): if (AVX2) { ... } else if (SSE) { ... } else ...

Then, when you run the program, the JIT will pick the first supported option and eliminate the other ones.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: