Is the compiler Xcode uses to produce Assembly code a bad compiler?

124 views Asked by At

I generated a new Xcode project in C and immediately looked at the assembly that it produces.

Here is the C code:

#include <stdio.h>

int main(int argc, const char * argv[]) {
    // insert code here...
    printf("Hello, World!\n");
    return 0;
}

The assembly code is almost 400 lines. This seems like a bit much... Can someone explain why this is? Also what compiler does it use anyways?

0

There are 0 answers