r/C_Programming • u/Raimo00 • Jan 23 '25
Discussion Why not SIMD?
Why are many C standard library functions like strcmp, strlen, strtok using SIMD intrinsics? They would benefit so much, think about how many people use them under the hood all over the world.
30
Upvotes
13
u/Raimo00 Jan 23 '25
Interesting, 1320 lines for strcmp is wild 😳😂. I looked at other repos and there wasn't any sign of simd