Re: [graph-tool] Compiling graph-tool for pypy?

2021-01-26 Thread Tiago de Paula Peixoto
Am 22.01.21 um 17:41 schrieb Berg, Stuart: >>Unfortunately, this is not possible. Graph-tool uses the CPython C API >>(via boost-python) which is not implemented by pypy. >Pypy does have support, sometimes with performance problems, for most of the Cpython APIs Indeed, the situation may no

Re: [graph-tool] Compiling graph-tool for pypy?

2021-01-22 Thread Berg, Stuart
>>Unfortunately, this is not possible. Graph-tool uses the CPython C API >>(via boost-python) which is not implemented by pypy. >Pypy does have support, sometimes with performance problems, for most of the >Cpython APIs Indeed, the situation may not be hopeless. IIUC, With PyPy’s C API compati

Re: [graph-tool] Compiling graph-tool for pypy?

2021-01-21 Thread Matteo Dell'Amico
Well, since some years things have changed :) Pypy does have support, sometimes with performance problems, for most of the Cpython APIs, and libraries using those APIs like numpy/scipy/pandas for example work out of the box. My performance bottleneck is not in the graph-tool code, it's actually in

Re: [graph-tool] Compiling graph-tool for pypy?

2021-01-21 Thread Tiago de Paula Peixoto
Am 21.01.21 um 16:01 schrieb Matteo Dell'Amico: Do you think there's a way to make these two pieces of software cooperate? Unfortunately, this is not possible. Graph-tool uses the CPython C API (via boost-python) which is not implemented by pypy. Note that if you are hoping to gain some spee

[graph-tool] Compiling graph-tool for pypy?

2021-01-21 Thread Matteo Dell'Amico
Hi! Thanks for graph-tool, really a great piece of software! I've been experimenting with graph-tool and pypy3 (by making $PYTHON point to the pypy interpreter), and I couldn't manage to successfully run configure, even while setting --with-python-module-path. I don't know if there's a correct va