4 ms·
Isn't Fortran faster than C++ in some cases due to it's strict pointer aliasing rules?
by RobertDeNiro 10y ago
Isn't Fortran faster than C++ in some cases due to it's strict pointer aliasing rules?
- neutronicus 10y agoIt's possible to get around this using __restrict__ to tell the compiler what it needs to know to optimize. Which is, I have to admit, kind of a pain sometimes.