Java是用什么写的?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/410320/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
What is Java written in?
提问by Ethan
What language is Sun's JVM
written in?
Sun 是JVM
用什么语言编写的?
采纳答案by J?rg W Mittag
Sun actually has multiple JVMs. The HotSpot JVMis written largely in C++, because HotSpot is heavily based on the Animorphic Smalltalk VMwhich is written in C++.
Sun 实际上有多个 JVM。所述热点JVM在C ++主要被写,因为热点在很大程度上基于所述Animorphic Smalltalk的VM被用C ++编写。
More interesting than HotSpot is IMHO the Maxine Research VM, which is written (almost) completely in Java.
比 HotSpot 更有趣的是恕我直言Maxine Research VM,它(几乎)完全用 Java 编写。
回答by duffymo
C.
C。
Sun's not a Java shop; it's a C shop. That's what Solaris is written in.
Sun 不是一家 Java 商店;这是一家C店。Solaris 就是这么写的。
回答by Neil Coffey
Strictly speaking, C++ (the JVM code does make use of C++ OO facilities).
严格来说,C++(JVM 代码确实使用了 C++ OO 设施)。
回答by Neil Coffey
You can find out for yourself at: http://www.sun.com/software/opensource/java/.
您可以在以下网址自行查找:http: //www.sun.com/software/opensource/java/。