📝C language is not particularly good for high-performance computing permalink by Oleksii Shmalko C is no longer a low-level languageFortran used to be faster than C because of aliasingFortran’s specialized for loop can generate faster codeLoop unswitching must pay attention to possibly zero-counted loops (in presence of uninitialized values)The main complication for CPU cache is shared and mutable stateC’s explicit layout prohibits some optimizations Backlinks 📝 C’s explicit layout prohibits some optimizations 📝 Fortran used to be faster than C because of aliasing 📝 § Programming Language