Can someone explain how can the Swift example be that much faster compared to C? I put them in the compiler explorer and the code generated seems pretty much the same. It also feels unfair that inlining is not allowed. If the goal is "to compare how each language handles the exact same code", then let them handle the code and don't prevent them from doing their own thing.
>>2
I just noticed that they are running each benchmark only once, so the difference could just be noise.