RSS C++ - 1/1 Blog C++ (3)


C++ - 1/1

cppyy: a new module for to C++ in python

2019-09-25

I did not try but the approach seems interesting and less verbose than any others. cppyy uses cling to extend Python code with C++ code during the execution. The tutorial contains the following example:

post

Cython, Pythran, nuitka, numba

2018-08-05

I discovered than Pythran was now a possible backend for Cython: Pythran as a Numpy backend. On one benchmark, it increases the speed by 2. I recommend the reading of the following article: Optimizing your code with NumPy, Cython, pythran and numba which instigates the performance brought by the four following tool and gives some hints on how to write efficient code with these tools:

post

Exploration with pybind11 and ExtensionArray

2018-08-03

I tried the version of pybind11 to expose a dummy C++ object WeightedDouble, to implement a couple of operators and to see how it behaves into a dataframe.

post


RSS C++ - 1/1 2018-08 (2) 2019-02 (1) 2019-03 (1) 2019-09 (1) 2021-01 (1)