News for hackers. Stuff that matters.
Re:Counting the number of matching characters in two ASCII s... by bombcar on Friday May 21, 2021 @12:01PM (#27235784)
If the optimizing compiler can figure out to use SIMD shouldn’t it also be able to degrade to this when SIMD isn’t available?

And if we’re already down the “write it understandable and trust the compiler” path isn’t that the better way to go?

It’s interesting to me that C is now effectively a “higher level” language than it may appear on the surface because of optimization by compilers.

There are no comments on this comment yet.