On 18-12-2011 21:08, Paulo Pinto wrote:
Walter Bright Wrote:
On 12/18/2011 11:00 AM, Paulo Pinto wrote:
Walter Bright Wrote:
I find this an odd statement because the Java VM is written in C, so therefore
it is on the same or fewer platforms than C.
Which specific Java VM are you talking about?
They come in all flavors, written in Assembly, C, C++ and even Java.
I thought they were all written in C.
The SunSpot VM is written in Java with a very small subset of C code.
http://www.sunspotworld.com
http://labs.oracle.com/projects/squawk/squawk-rjvm.html
The Jikes RVM is written mostly in Java.
http://jikesrvm.org/Presentations
The Maxime VM is written mostly in Java
http://148.87.46.199/projects/maxine/
The Oracle/Sun HotSpot is written in C++
http://en.wikipedia.org/wiki/HotSpot
And this is just a small list, as there are quite a few JVMs around.
It is also worth mentioning Joeq (not a Java VM per se, but it does
support Java bytecode loading), which is written in Java.
- Alex