AutoWIG: Automatic generation of python bindings for C++ libraries

Fernique Pierre, Pradal Christophe. 2018. AutoWIG: Automatic generation of python bindings for C++ libraries. PeerJ Computer Science, 4:e149, 31 p.

Journal article ; Article de recherche ; Article de revue à facteur d'impact Revue en libre accès total
Published version - Anglais
License Licence Creative Commons.

Télécharger (2MB) | Preview

Abstract : 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.

Mots-clés Agrovoc : bibliothèque numérique, Programmation informatique, Analyse de données

Mots-clés libres : C++, Python, Automatic bindings generation, Transpiler

Classification Agris : C30 - Documentation and information
U10 - Computer science, mathematics and statistics

Champ stratégique Cirad : Hors axes (2014-2018)

Auteurs et affiliations

Source : Cirad-Agritrop (

View Item (staff only) View Item (staff only)

[ Page générée et mise en cache le 2021-02-05 ]