Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

CFFI - Calling C from Python

EuroPython Conference via YouTube

Overview

Explore CFFI as an alternative to the standard C API for extending Python in this 30-minute EuroPython Conference talk. Learn how to call C libraries directly from Python using CFFI, which works on both CPython and PyPy. Discover the advantages of CFFI over traditional C extension modules, including its simplicity and independence from CPython internals. Examine the motivation behind CFFI's development and its success in high-profile projects. Understand how CFFI addresses challenges faced by PyPy regarding the CPython C API. Through demonstrations and examples, gain insights into CFFI objects, support, and its implementation differences in CPython and PyPy. Conclude with a Q&A session to deepen your understanding of this powerful tool for integrating C code with Python.

Syllabus

Introduction
Demo
CFFI objects
CFFI support
PiPI
PiPI differences
Questions

Taught by

EuroPython Conference

Reviews

Start your review of CFFI - Calling C from Python

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.