Thanks and Regards,<br />krishna<br />------------------<br />Charles Darwin: <br />"It is not the strongest of the species that survives, <br />nor the most intelligent, <br />but the one most responsive to change"
Originally posted by krishna Gajarla:
jvm is an interpreter.
is it correct?
There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors
An interpreter is a program that runs at the same time as your program. basiccally, it converts a file into the machine language needed to run the program.
A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
You down with OOP? Yeah you know me!
An interpreter reads byte code and perform the appropriate action for each instruction.
There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors
Originally posted by Justin Fox:
I thought that the javac compiler was an interpreter within itself.
I believe thats what my prof said in CS I.
because the compiler is the interpreter, in the sense that it takes your
code and checks it through certain regulations, then tells you if your
syntax is correct or not.
Originally posted by fred rosenberger:
I'm willing to admit i'm not the expert here...
but, in order for the interpreter to "perform the appropriate action", doesn't the machine language code need to be sent to the CPU? maybe there's not a literal interpretation, but somehow that basic instruction that the CPU understands has to be sent to the CPU.
The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
Originally posted by Stan James:
Maybe it's like the difference between reading an English recipe and writing it out in Russian vs reading English and baking a cake.
The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus