3 ms·
PyO3 is bindings to the C API, so if you're using PyO3 you're still using the C API even if you're not actually writing C.
by masklinn 2y ago
PyO3 is bindings to the C API, so if you're using PyO3 you're still using the C API even if you're not actually writing C.
- rich_sasha 2y agoYeah, sure, I mean, how many people write C to write an end-user Python module. There's stuff that genuinely wraps C libraries or predates higher level language wrappers, like numpy or matplotlib, but how many new modules are actually themselves written in C?
- masklinn 2y agoThe point is that’s not relevant, the issue is the API / ABI of the modules, its requirements, and its limitations, not the langage in which the modules are written.