1What follows from this
- The buffer protocol: hand over memory without copying, with a description of its layout
- Hence arrays exchanged between numpy, torch, arrow and pillow without copies
- An extension can release the GIL → threads give 1.9× on numpy and nothing on bytecode
- The reference count sticks out of the public API → the GIL cannot be removed without breaking extensions
- The ABI is not stable → a wheel is tied to the version, the platform and libc
2Chapters of this root