• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Interpreted environment

 
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What are the benefits of interpreted environment? I have read that one of the benefits is -speed of development - It eliminates the compile-link-load-test cycle.
plez explain the same.
 
"The Hood"
Posts: 8521
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Well there are 2 different answers to this. For some 4th generation languages that are completely interpreted this is true. You write, you run. No compile step. Actually it is very pleasant to skip that compile part.
However that is NOT why Java has an interpreter. Java's reason is to make the compiled code machine independant. If you write code and compile it into byte-code, then someone runs it on their machine, whatever machine specific interpreter that they have on their machine interprets the byte-code. If it runs in a browser, the browser that they have will be compatible with that machine. If it runs in a JRE, it has to be a JRE compatible with their machine. Either way, the code does not need to change to take the environment into account.
 
reply
    Bookmark Topic Watch Topic
  • New Topic