Workshop: Python binding for C/C++

Europe/Ljubljana
ZOOM

ZOOM

Luka Leskovec (IJS)
Description

Description: Scientific and math software is written in C/C++ which often requires longer development time when combining a larger set of such libraries. To better utilize such libraries it is often convenient to interface them to a modern interpreted language such as Python.

We will learn how to bind C/C++ code in Python 3, starting by creating a Python object that will utilize one of the standard C/C++ containers, the vector. Continuing we will then take an existing C/C++ library and prepare it to be called from Python. Finally we will demonstrate a workflow where two different libraries are combined in a single Python 3 script.

Difficulty: Basic

Language: English

Prerequisite knowledge: Basic knowledge of Linux, the Terminal, Python and C/C++

Target audience: The workshop is intended for beginners and more experienced people interested in utilizing C/C++ code from Python

Skills to be gained:

  • Identifying useful libraries, and how to combine them in a workflow
  • Basics of libraries for Python
  • Binding C/C++ libraries in Python

 

Workflow: The training is online, in the afternoon. The workshop will combine lecture and practical parts, where your own laptop suffices (however, if need users can also make use of the NSC Cluster at the Jožef Stefan Institute (as an educational member of SLING)).

Virtual location: ZOOM (only registered participants will see ZOOM link)

Organizer:

Univerza v Ljubljani v leto 2024 ...

Lecturer:

Name:Luka Leskovec
Description:Scientist and educationalist involved in theoretical physics and supercomputing
E-mail:luka.leskovec@fmf.uni-lj.si

Registration
Registration
Surveys
Survey: Python binding for C/C++
The agenda of this meeting is empty