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

Autor: Pierre Fernique, Christophe Pradal
Jazyk: angličtina
Rok vydání: 2018
Předmět:
Zdroj: PeerJ Computer Science, Vol 4, p e149 (2018)
Druh dokumentu: article
ISSN: 2376-5992
DOI: 10.7717/peerj-cs.149
Popis: 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.
Databáze: Directory of Open Access Journals