Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

“An interpreted language is a type of programming language for which there is an interpreter which runs over a virtual machine“

I get what you are trying to say but if (!) you use JVM you are using an interpreter.



According to this definition, C is an interpreted language because "there is" CINT. [1]

[1] https://web.archive.org/web/20190911160010/http://www.hanno....


Wikipedias definition. And yes indeed!


> but if (!) you use JVM you are using an interpreter

You're using an interpreter to start with, but then it dynamically compiles machine code to run instead of using the interpreter.

But these terms are very fluid. I'd call HotSpot an interpreter, and a compiler, and both at the same time. It depends how you're looking at it at that moment.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: