File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Ranch Office and the fly likes Why Translators? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » This Site » Ranch Office
Bookmark "Why Translators?" Watch "Why Translators?" New topic

Why Translators?

Swati Samudra

Joined: Dec 27, 2000
Posts: 16
Why there is need for translator if we have an interpreter that can understand the java language and execute the machine instructions?
If Interpreters could understand bytecodes then why not install the interpreters that could convert the java lang code in to machine instructions?
If there are interpreters for other languages then why not for Java?
Please increase my knowledge.
Sahir Shah
Ranch Hand

Joined: Nov 05, 2000
Posts: 158

This is to optimise excecution speed (ha! ha! ) and to reduce the size of the code that is interpreted.

paul wheaton

Joined: Dec 14, 1998
Posts: 20973

I'm moving this to Java in General (beginner)

permaculture Wood Burning Stoves 2.0 - 4-DVD set
I agree. Here's the link:
subject: Why Translators?
It's not a secret anymore!