| Technologies | 🦀🐍 |
| Technologies | 🦀🐍 |
@niq https://stackoverflow.com/questions/8067171/ctypes-vs-c-extension#8069179
This is still pretty accurate for current Python; the overhead is significant compared to a native module, so you’ll want to avoid calling in a hot loop (or hoist the loop into C) with ctypes.