Gauss supposedly did it when he was 7. The hardest part for the compiler is figuring out that you have a loop that computes that sum and does nothing else important.
Unfortunately I don’t have a hiring pipeline filled with Gausses
Unfortunately I don’t have a hiring pipeline filled with Gausses