PyCon JP 2024

ロケール設定が保存されました。pretalxでは英語のサポートが充実していると思っていますが、問題やエラーが発生した場合は、ぜひご連絡ください。

Why Knowing Cython Helps in Understanding Python: A Deep Dive into Cython & PVM
2024/09/28 , 4F Track4

This talk explores the intersection of Python and Cython, emphasizing how understanding Cython can deepen one's knowledge of the Python Virtual Machine (PVM) and Python's performance characteristics.


In this talk attendees will gain insights into the PVM's inner workings, Cython's role in enhancing performance, and practical tips for integrating Cython into their Python projects, especially for machine learning optimization.

Agenda
- How Python Works?
- How Cython Works? Converting Python code to C Code (Generated by Cython) and compiling them separately (10mins) add Different cases of same function explaining the difference in cython.
- How to integrate C Code into Python using Cython
- Python Objects
- Questions (5Mins)


この題材を選んだ理由やきっかけ

I work with computer vision models at scale so it is my duty to have high performance code.
When i was learning about High Performance coding, as python was my first and proffered language i stumbled upon Cython. It helped to improve my codes performance as well as improved my working knowledge of python.

オーディエンスが持って帰れる具体的な知識やノウハウ

PVM's inner workings
Cython's role in enhancing performance
Generating autogenerated C Code from Python using Cython

オーディエンスに求める前提知識

Python Knowledge C/C++ is helpful but not required.

オーディエンスの経験レベル

Intermediate

発表の言語

English

発表資料の言語

English

See also:

Abhik is a Director, Machine Learning Engineer at Cloudastructure, a cloud-based video surveillance platform.

He has worked extensively with Computer Vision Models at scale, which has led him to deeply care about the performance of the code.