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

Pierre Fernique, Christophe Pradal
5/31/2017
cs.SE

Official code: StatisKit/AutoWIG (123 stars, Apache-2.0, last commit 2020-03-18).

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.

View on arXivView PDF

Code Implementations(1)

StatisKit/AutoWIGOfficial100%
Apache-2.0

Automatic Wrapper and Interface Generator

12315Shell, PythonJan 16, 20156 years agoApache-2.0
autowigcpppythonscientific-computingtranspiler

Cite this paper

@article{fernique2017autowig,
  title  = {AutoWIG: Automatic Generation of Python Bindings for C++ Libraries},
  author = {Pierre Fernique and Christophe Pradal},
  year   = {2017},
  eprint = {1705.11000},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1705.11000}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1705.11000.svg)](https://codeofpaper.com/paper/1705.11000)

Discussion