• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Why Translators?

 
Swati Samudra
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 158
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

This is to optimise excecution speed (ha! ha! ) and to reduce the size of the code that is interpreted.
Rgds
Sahir
 
paul wheaton
Trailboss
Pie
Posts: 21335
Firefox Browser IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm moving this to Java in General (beginner)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic