News for hackers. Stuff that matters.
Re:Java on Truffle – Going Fully Metacircular by dehrmann on Wednesday January 20, 2021 @01:01AM (#25843030)
Yes, but modern Java isn't really interpreted.
Re:Java on Truffle – Going Fully Metacircular by danielscrubs on Wednesday January 20, 2021 @02:40AM (#25843626)
“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.

Re:Java on Truffle – Going Fully Metacircular by rwoerz on Wednesday January 20, 2021 @06:22AM (#25845089)
According to this definition, C is an interpreted language because "there is" CINT. [1]

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

Re:Java on Truffle – Going Fully Metacircular by danielscrubs on Thursday January 21, 2021 @10:04AM (#25859520)
Wikipedias definition. And yes indeed!
Re:Java on Truffle – Going Fully Metacircular by chrisseaton on Thursday January 21, 2021 @09:24PM (#25867505)
> 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.