Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is Java written in?

Tags:

java

jvm

What language is Sun's JVM written in?

like image 927
Ethan Avatar asked Jan 04 '09 02:01

Ethan


People also ask

Is Java built on C?

The very first Java compiler was developed by Sun Microsystems and was written in C using some libraries from C++. Today, the Java compiler is written in Java, while the JRE is written in C.

Is Java written in English?

Java Code write in only English Language. Technically you can't unless you write your own parser that translates only the tokens.

What is C++ written in?

Most compilers for C and C++ are written in C and C++.


1 Answers

Sun actually has multiple JVMs. The HotSpot JVM is written largely in C++, because HotSpot is heavily based on the Animorphic Smalltalk VM which is written in C++.

More interesting than HotSpot is IMHO the Maxine Research VM, which is written (almost) completely in Java.

like image 137
Jörg W Mittag Avatar answered Sep 20 '22 11:09

Jörg W Mittag