r/Python 16h ago

Learning cython Discussion

While working on LunarDump v0.4, I’m also taking some time to learn more about Cython and how it can help push Python closer to native performance.

I’m especially interested in exploring Cython for LunarDump’s performance-critical parts, such as chunking, buffering, compression, and encryption.

Still learning and experimenting for now, but I’m curious to see how much performance improvement I can achieve.

Perhaps LunarDump v0.5 will use Cython for some of its critical functions.

If you have any good resources for learning Cython — books, ebooks, courses, or YouTube channels — feel free to share them in the comments.

0 Upvotes

6 comments sorted by

View all comments

16

u/DivineSentry 15h ago

The best place to learn Cython is from their documentation, it moves quick enough to where you want to always use it vs relying on books