2023-02-26

Fortran

Fortran can be faster than C for arithmetics because of better aliasing information. https://beza1e1.tuxen.de/articles/faster_than_C.html

Function arguments are not allowed to be aliased. i.e. they should point to different areas in memory. Therefore compiler can do some optimization tricks.


Found this interesting? Subscribe to new posts.
Any comments? Send an email.