-
Notifications
You must be signed in to change notification settings - Fork 952
Description
Hi,
I've been messing around with pyo3 and have been really enjoying it - the simplicity is fantastic, and it seems overhead with cpython is minimal, and very pleasant to work with.
Our production parsing systems run PyPy for the massive speedup gains we get for some text parsing cases we have implemented in python.
From my benchmarks, implementing identical parsers in rust yield around 250x~ time the speed of cpython, and around 15x that of pypy.
However for gradual migration we'd probably want to be able to load the rust extensions side-by-side with out running pypy processes.
It does seem that PyO3 recognizes pypy to some degree, as I did get two seperate shared libs

I've tried fiddling a little bit with PyO3 building code (on mac), but wasn't able to make anything meaningful so far 😕

Do you think it would be a big undertaking to make PyO3 compatible with cpyext? if so, what would be needed to make this work?
Thanks alot!