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)

这两个过程没有决定性差别。

相关文章:

  • 2021-11-29
  • 2021-12-16
  • 2021-05-16
  • 2021-11-08
猜你喜欢
  • 2021-11-29
  • 2021-12-02
  • 2021-04-08
  • 2021-08-06
  • 2021-09-27
  • 2022-12-23
相关资源
相似解决方案