O'Reilly logo

Learning Cython Programming by Philip Herron

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Summary

This chapter was a deep dive into using Cython in a real-world application that many people use, and you really had to worry about very little C. Consider if this .pxd file was added to Tmux; anyone could then write Tmux commands in Python very easily! If you then look at the memory-management hooks, why not wrap all C types into Python classes and reuse the Python garbage collector for memory management. There are so many possibilities—just think outside the box.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required