Overview
Explore the challenges and solutions of embedding the Python interpreter in a C++ program through a conference talk from EuroPython 2014. Delve into the integration process, efficient data exchange between Python and C++, and the creation of higher-level abstractions to reduce language barriers. Learn how Blue Yonder leveraged this approach in their distributed scheduling system to allow data scientists to focus on developing statistical models while utilizing existing C++ infrastructure. Discover techniques for overcoming obstacles such as resource management, error handling, and API limitations. Examine the use of Boost Python C++ library for data exchange and advanced concepts like data sources. Gain insights into seamlessly integrating C++ objects with Python, including using Python's logging package within a C++ application. Understand how this hybrid approach combines the strengths of both languages, resulting in safe operations, good performance, rapid development, and expressive, testable domain logic.
Syllabus
Michael König - Embedding Python: Charming the Snake with C++
Taught by
EuroPython Conference