|
From: Tim R. <ti...@su...> - 2004-04-10 02:00:27
|
In message <014301c41dbb$6f406ec0$6688b8d9@R22>
"Andreas Raab" <and...@gm...> wrote:
> Tim,
>
> The idea was that you would specify primitives with arguments (like FFI
> and/or SmartInterpreterplugin) and then glue gets generated for the
> interpreter. So it would actually look somewhat along the lines of:
OK, that would help prepare for a real translator and it might be
argued that it would make writing prims simpler but I can't see any
particular performance benefit in our current VM. I guess we could
generate wrappers that do extra stuff on occasion as well -perhaps
debugging? Of course, he wrappers need generating somehow. The CCodeGen
could probably create static C code ones with a bit of futzing; doing it
in machine code dynamically might be more than we want to do right now?
tim
--
Tim Rowledge, ti...@su..., http://sumeru.stanford.edu/tim
Oxymorons: Small crowd
|