Millsa Erlas <[EMAIL PROTECTED]> wrote:
> I heard that Parrot has a JIT compiler. If I understand this correctly,
> does this mean Parrot bytecode is converted to native machine hardware
> code before execution? If so, it is a good idea.

Yes, if the platform has the necessary code at least.

> JIT is great, however, will it still be possible to run the Parrot
> bytecode on the interpretor?

Sure. Parrot has multiple different run loops, JIT ableit not being a
real loop is just one of them.

> Also, does the native machine code make calls to the Parrot VM, for
> thinks like storing variables, calling subroutines, and so on? This
> makes sense, since Parrot can still manage memory allocation, and other
> things for the machine code.

Yep. Basically all opcodes that aren't available as native JITed
versions are executed in the plain run core.

leo

Reply via email to