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

Pierre Fernique 1 Christophe Pradal 1, 2
1 VIRTUAL PLANTS - Modeling plant morphogenesis at different scales, from genes to phenotype
CRISAM - Inria Sophia Antipolis - Méditerranée , INRA - Institut National de la Recherche Agronomique, Centre de coopération internationale en recherche agronomique pour le développement [CIRAD] : UMR51
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.
Type de document :
Pré-publication, Document de travail
2017
Liste complète des métadonnées

https://hal.inria.fr/hal-01531771
Contributeur : Christophe Godin <>
Soumis le : jeudi 1 juin 2017 - 20:15:58
Dernière modification le : samedi 27 janvier 2018 - 01:31:37

Lien texte intégral

Identifiants

  • HAL Id : hal-01531771, version 1
  • ARXIV : 1705.11000

Collections

Citation

Pierre Fernique, Christophe Pradal. AutoWIG: Automatic Generation of Python Bindings for C++ Libraries. 2017. 〈hal-01531771〉

Partager

Métriques

Consultations de la notice

100