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 an algorithmic part unrelated with graph-tool, so I understand your comment but it's not about that :)

thanks a lot for your help!

Il giorno gio 21 gen 2021 alle ore 17:09 Tiago de Paula Peixoto <tiago@skewed.de> ha scritto:
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 speed improvement by using
pypy, this would not be achieved for graph-tool, since it is implemented
in C++.

Best,
Tiago

--
Tiago de Paula Peixoto <tiago@skewed.de>

_______________________________________________
graph-tool mailing list
graph-tool@skewed.de
https://lists.skewed.de/mailman/listinfo/graph-tool


--
matteo