News for hackers. Stuff that matters.
Re:HPy – A better C API for Python by masklinn on Sunday October 06, 2024 @05:28AM (#41755916)
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.
Re:HPy – A better C API for Python by rich_sasha on Sunday October 06, 2024 @06:08AM (#41756087)
Yeah, 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?
Re:HPy – A better C API for Python by masklinn on Sunday October 06, 2024 @12:05PM (#41758049)
The 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.