|
From: | Stefan Weil |
Subject: | Re: [Qemu-devel] [PATCH 0/8] tcg/interpreter: Add TCG + interpreter for bytecode (virtual machine) |
Date: | Sun, 18 Sep 2011 22:15:45 +0200 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.16) Gecko/20110818 Iceowl/1.0b1 Icedove/3.0.11 |
Am 18.09.2011 18:39, schrieb Mulyadi Santosa:
Hi Stefan... On Sun, Sep 18, 2011 at 22:13, Stefan Weil <address@hidden> wrote:Its primary purpose was support of new hosts without a native TCG.Thanks for the explanation, I got better picture now. However, still, an interpreter must be ready to grab the bytecode and execute it, right? So, that interpreter, should it be build inside Qemu too? Or can we use/write external one? let's say creating one in python and TCI passes the generated bytecode via UNIX socket to the listening Python script, is that doable or one of the goal your design?
Do you think of something like http://bellard.org/jslinux/? The current interpreter is built inside QEMU, and I'm afraid that separating code generator and interpreter in different processes might be a lot of work. Maybe running both in separate threads would be possible, so the code generator could prepare new bytecode while the interpreter is still running the previous one.
[Prev in Thread] | Current Thread | [Next in Thread] |