AutoWIG: Automatic Generation of Python Bindings for C++ Libraries - Inria - Institut national de recherche en sciences et technologies du numérique
Pré-Publication, Document De Travail Année : 2016

AutoWIG: Automatic Generation of Python Bindings for C++ Libraries

Résumé

Most of Python and R scientific packages incorporate compiled scientific libraries to speed up the code and reuse legacy libraries. While several semi-automatic solutions exist to wrap these compiled libraries, the process of wrapping a large library is cumbersome and time consuming. In this paper, we introduce AutoWIG, a Python package that wraps automatically compiled libraries into high-level languages using LLVM/Clang technologies and the Mako templating engine. Our approach is automatic, extensible, and applies to complex C++ libraries, composed of thousands of classes or incorporating modern meta-programming constructs.

Dates et versions

hal-01531771 , version 1 (01-06-2017)

Identifiants

Citer

Pierre Fernique, Christophe Pradal. AutoWIG: Automatic Generation of Python Bindings for C++ Libraries. 2016. ⟨hal-01531771⟩
520 Consultations
4 Téléchargements

Altmetric

Partager

More