Commit adbdbb94 authored by Jørgen Lien Sellæg's avatar Jørgen Lien Sellæg
Browse files

add docs to build and run

parent fa90b4f8
# Python meetup
## 25.04.18
## Code and slides from my talk at 25.04.19 at Trondheim Python meetup
- Slide 1
Sportradar is sponsoring the talk
Creating python modules with modern C++
- Slide 2
First of, I'm no python developer, I joined this meetup group to learn about
this growing language.
I wanted to do a talk, so I had to figure out a way to talk about C++
to an Python audience.
## Build examples
# pybind examples
mkdir build
cd build
cmake ..
SoMe handles
- Slide 3
Why do you want to write Python modules in C++?
# c-api examples
cd c-api
- get an understanding of how python is implemented
- speed up CPU/GPU heavy calculations
- be able to use an C/C++ library in Python
- create a python API for your C++ application
- Slide 4
Using Pythons C/C++ API is hard.
## Test examples
- Slide 5
Using pybind11 makes it look like python code
- Slide 6
Lets look at some examples
- Slide 7
Embedding the interpreter
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment