📝C language is not particularly good for high-performance computing
- C is no longer a low-level language
- Fortran used to be faster than C because of aliasing
- Fortran’s specialized for loop can generate faster code
- Loop unswitching must pay attention to possibly zero-counted loops (in presence of uninitialized values)
- The main complication for CPU cache is shared and mutable state
- C’s explicit layout prohibits some optimizations