pycapnp icon indicating copy to clipboard operation
pycapnp copied to clipboard

Pure-Python version

Open tyteen4a03 opened this issue 3 years ago • 2 comments

Due to limitations I won't go into, I can't use any C extensions at my project. Is there a fallback version that is pure Python?

tyteen4a03 avatar Jun 07 '22 00:06 tyteen4a03

Unfortunately no.

This would be a huge project (and likely fall flat on the performance side).

haata avatar Jun 07 '22 01:06 haata

FWIW I suspect a pure-Python implementation of the serialization layer could perform better than the C extension version, since the FFI cost is probably dominating the actual implementation cost. But it would indeed be a huge project.

kentonv avatar Jun 07 '22 13:06 kentonv