[pypy-dev] Need some pointers on my interpreter

Maciej Fijalkowski fijall at gmail.com
Tue Aug 14 13:45:29 CEST 2012

On Tue, Aug 14, 2012 at 1:38 PM, Timothy Baldridge <tbaldridge at gmail.com> wrote:
> Here is my jitlog:
>> https://gist.github.com/3341474
> I updated my jitlog after the work I did last night. I was able to pull
> about 50+ ops out of the jitted code, but still, I'm dealing with the fact
> that the JIT doesn't realize it can optimize away my data stack. Around line
> 55 in the stack, you can see that my IS_EQ op is still trying to update the
> stack, and the instruction pointer.
> So I guess this is my current question. What is the best way to represent a
> data stack (like python does) in a interpreter. Currently I have an array
> indexed by a stack pointer, and then I mark stack[sp] and stack[sp-1] as
> 'reds', but is that really what I should be doing here?
> Thanks,
> Timothy
> _______________________________________________
> pypy-dev mailing list
> pypy-dev at python.org
> http://mail.python.org/mailman/listinfo/pypy-dev

>From a quick glimpse it looks like you might be forced to use
virtualziables here. this is just a very quick glimpse though

More information about the pypy-dev mailing list