0

I know that some piececes of the bytecode are compiled into assembly at runtime. However all resources that I read do not mention what happens to the rest of the code. Is it interpreted by c++?

1
  • You are mixing up terms. Some byte code is compiled to native code, no assembly step involved. The byte code which is not compiled will get interpreted; the interpreter might be implemented using C++, but whether it is, is irrelevant as at runtime, the interpreter will consist of executable native code, of course. Commented Apr 25, 2016 at 15:46

1 Answer 1

4

The JIT compiler compiles the byte-code to native code for execution; if you're on a platform without a JIT then the byte-code is interpreted.

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.