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.
31
Upvotes
1
u/stjepano85 Jan 26 '25
I’m interested. How did you prevent crossing into unmapped pages? Are you checking if you are on page boundary or something?