-3

Why don't languages like java or python directly convert code in machine language like C++?:

What are the reasons for this since the fact that machine language is faster than byte code? I'm just curious.

4

1 回答 1

1

对于 Java,答案是可移植性。编译成机器代码会减少可以编写的可用平台的数量。虚拟机是一个很好的解决方案。这里有更多信息:http ://www.cs.umd.edu/~clin/MoreJava/Cycle/compile.html

于 2013-08-21T21:37:25.403 回答