4 ms·
C pointer aliasing defeats certain compiler optimizations that can be made in other languages, and is frequently brought up in C vs FORTRAN comparisons. I thin
by minimax 14y ago
C pointer aliasing defeats certain compiler optimizations that can be made in other languages, and is frequently brought up in C vs FORTRAN comparisons. I think that's probably what the GP had in mind.
- michaelochurch 14y agoThat makes a lot of sense. Thanks!
- eropple 14y agoC99 includes restricted pointers, but support is a bit spotty. Microsoft's compiler (which is of course really just a C++ compiler) includes it as a nonstandard keyword, too. http://en.wikipedia.org/wiki/Restrict http://en.wikipedia.org/wiki/Restrict