Scientific computing using Cython: Best of both worlds!

Simmi Mourya (~simmimourya1)




Cython is not only an excellent and widely used tool to speed up computational Python code, it’s also a very smart way to talk to native code and libraries. The Cython compiler translates Python code to C or C++ code, and supports static type annotations to allow direct use of C/C++ data types and functions. You get the best of both worlds while working with Cython: Python like syntax with blazing fast C speed.

This talk/tutorial by a Python/Cython developer introduces Cython programming language and leads the participants all the way from their first Python extension to an efficient integration with native C. Topics covered will be: 1. Using the Cython compiler to build a native extension module 2. Cython development from Jupyter notebook 3. Mixing Python with static C types in the Cython language 4. Calling into native code from Cython code (Brief introduction) 5. Wrap up: A brief case study Cyvlfeat: A Cython/Python wrapper for Computer Vision library, VLFeat.

Participants are expected to have a good understanding of the Python language, some basic knowledge about C or C++. No deep C programming knowledge is required, nor is any prior knowledge needed about writing extension modules for the CPython runtime.


Participants should be familiar with Python syntax and C syntax (Optional).

Content URLs:

Speaker Info:

Simmi Mourya is on a mission to promote the Python programming language to facilitate the growth of a diverse community of Python Ninjas. She is a deep learning engineer at Predible Health. Her interest lies in Deep Learning and Artificial Intelligence. She is about to finish Udacity's Artificial Intelligence Nano-degree. She has a good amount of experience in Cython programming language because of her contributions to Cyvlfeat, a Cython/Python wrapper for famous Computer Vision library named VLFeat. Find it here: She has a lot of speaking experience. She's an active speaker at Women Tech Makers Delhi, India. Previously, she has presented at Europython 2017, Fossasia Open Tech Summit 2017, Singapore. She is a past Google Summer of Code scholar. She has also provided mentoring support for Google Code-In 2016. You can find her stargazing almost every night! She loves photography and singing. She makes the best pasta!

Speaker Links:

Section: Scientific Computing
Type: Talks
Target Audience: Beginner
Last Updated:

No comments added so far.

Login to add a new comment.