Determine and choose an appropriate compiler (and optimisation level)

By Mateusz, 4 September, 2024

Determine and choose an appropriate compiler (and optimisation level)

Compilers can affect various aspects of the code you are developing, such as speed, size, energy use or accuracy of the results. If there is an energy-efficient compiler available, and it does not influence the expected results of the code or are minimal, the change is recommended to decrease the energy use. Similarly, most modern compilers offer optimisation levels which might further reduce the energy use but might increase the difference between the original results even more, so carefully test which would work best.