Re:Calling Rust from Python
by sonthonax on Sunday October 08, 2023 @03:11PM
(#37813497)
Isn't PyO3 just a set of macros and helpers around FFI and ctypes?
[ Parent
| on HN ]
Re:Calling Rust from Python
by guitarbill on Sunday October 08, 2023 @03:24PM
(#37813611)
"just" undersells it a bit, mainly around type conversions.
Also, there is no ctypes involved, as the result is a CPython extension that just loads on the Python side.