[Python-Dev] Developing a Python JIT and have troubld

2017-03-30 Thread Yuheng Zou
I am building a Python JIT, so I want to change the interp->eval_frame to my own function. I built a C++ library which contains EvalFrame function, and then use dlopen and dlsym to use it. It looks like this: extern "C" PyObject *EvalFrame(PyFrameObject *f, int throwflag) { return _PyEval_Ev

Re: [Python-Dev] [Python-compilers] Developing a Python JIT and have troubld

2017-04-01 Thread Yuheng Zou
for each method. > > Can you try your implementation with my test so we can compare? > > On Thu, Mar 30, 2017 at 11:46 PM Yuheng Zou > wrote: > > I am building a Python JIT, so I want to change the interp->eval_frame to > my own function. > > I built a C++ librar