Forums Register Login

JAVA 1.5

+Pie Number of slices to send: Send
In which language, the java 1.5 is written? Is it written in basic java?
+Pie Number of slices to send: Send
There is no single answer to the question, as it is ambigious.

The Java Language Specification is written in some form of English, as should be obvious.

If you are referring to the Sun JDK (and this might be different for JDKs from other vendors), most of the class library and the tools like javac are written in Java, with some native code mixed in, probably written mostly in C.

As far as I know, the JVM is written in C, too.
+Pie Number of slices to send: Send
It is not uncommon for a language to be written in itself, though it may seem counter intuitive.

I know GNU C Compiler was written (almost) entirely in C. (It's prob'ly even more complex today - my knowledge backdates 15 years.)

You'd use the native C compiler (available on any UN*X box) to compile gcc. Then Use the new gcc to compile itself again, because there are a LOT of optimizations in the gcc compiler that don't exist in the standard compilers.

And of course, just compile version N+1 with version N.
+Pie Number of slices to send: Send
jikes -a free compiler originating from IBM- is written in C.
If you live in a cold climate and on the grid, incandescent light can use less energy than LED. Tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 888 times.
Similar Threads
converting 1.4 code to 1.5
Confused about Arrays.binarySearch
Java/J2ee Interview companion - API/Specs version covered
reflection in action - java 1.5
Khalid Mughal again.
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 29, 2024 02:36:02.