News for hackers. Stuff that matters.
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?
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.

Re:Calling Rust from Python by masklinn on Sunday October 08, 2023 @05:07PM (#37814412)
In the same sense that rust is just a set of macros and helpers around assembly.

Also no ctypes.