tags:

views:

158

answers:

4

I am talking about the major implementation platform of these platforms.

+1  A: 

The bulk of the .Net framework is written in C#. Evidence for this would be Microsoft's Rotor project, which is basically the source code for much of the .Net framework. However, the core libraries are written in C++, including the virtual machine itself and the libraries that interface directly with the operating system.

As for Java, it is much the same as .Net in the way it is programmed.

rakuo15
+3  A: 

The JVM provided by Sun (Hotspot) is written in C++, although parts of the standard Java library is written in Java as well.

The same goes for .NET. The VM and core libraries (interfacing with the underlying platform and native libraries) are written in C++ , the rest is written in C#.

Håvard S
+2  A: 

I'm not sure about the dot net framework, but the jvm is build using a combination of c and java, see also the sources for yourself:

http://download.java.net/jdk6/source/

Marc van Kempen
+5  A: 

For Java, the JVM itself is written in C++, probably with a little C or even assembler sprinkled in. The Standard API library, on the other hand, is written almost entirely in Java (with a few native methods implemented in C or C++).

Michael Borgwardt
Depends upon the implementation. Maxine and Jikes RVM (formerly Jalapeno) are almost entirely Java. I believe IBM also had one written in Smalltalk.
Tom Hawtin - tackline
Sun implementation
iamrohitbanga