Conversation:
Notices
-
C# compiles to byte code just like Java. Though it runs on .NET or something rather than a Java VM.
-
Ah. I understand. C generally compiles to machine code. But you can do other things depending on the compiler.
-
For instance GCC compiles to assembler then to machine code then links so you can make the compiler generate assembler if you want.
-
Yes. So it's easy to stop at any stage or substitute a different assembler if you want. Very Unixy.
-
It also makes it easy for GCC to add front-ends for various other compiled languages. So it can do a lot more than just C/C++.