Re: [pypy-dev] Exposing rpython based functions to cpython vm.

2017-06-20 Thread Aleksandr Koshkin
Thank you guys for your responses, appreciated. So as a study case I am building custom JIT powered regex matcher (somewhat more or less compatible with pcre). It is not a problem to build one as a stand alone application but I want it as a shared library and ultimately as a python compatible modul

Re: [pypy-dev] Exposing rpython based functions to cpython vm.

2017-06-19 Thread Yury V. Zaytsev
On Mon, 19 Jun 2017, Armin Rigo wrote: Answered on https://stackoverflow.com/questions/44629893/invoke-rpython-based-functions-from-standard-python-code I would add to that that in the case that the idea was to take some code out of hot loops, translate it into RPython so that it runs faster

Re: [pypy-dev] Exposing rpython based functions to cpython vm.

2017-06-19 Thread Armin Rigo
Hi, On 19 June 2017 at 13:52, Aleksandr Koshkin wrote: > I have been tinkering with pypy source tree for a week now and came up with > a following question - is there any way to build a rpython program as a > shared object which exposes some of its functionality (say a list of Answered on https