The C# build process is simple compared to C and C++ and more flexible than in Java.
这句话是微软说的,但是就是没有看出来,为什么说比Java灵活。要说CLR是可以运行符合CLI规范的所有语言的话,JVM也是可以运行Ruby等语言的。
C#:
C# Source(Resources References) | V Complier | v Managed Assembly(including MSIL Metadata) | (IL metadata & references loaded by CLR) | v .NET Framework CLR: Security/Garbage Collection/JIT(Just In Time) Complier ---(uses)--> .NET Framework Class Libraries(IL) | (Converted to native machine code) | v Operating System
Java:
Java files | v Java Complier(javac.exe) | v .class files(Byte Code) | v JVM(java.exe)
这两个过程没有决定性差别。