Skip to Main content Skip to Navigation
Conference papers

AutoWIG : automatisation de l'encapsulation de librairies C++ en Python et en R

Pierre Fernique 1
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, UMR AGAP - Amélioration génétique et adaptation des plantes méditerranéennes et tropicales
Abstract : Python and R programming languages are two of the most popular languages in scientific computing. However, most scientific packages incorporates C and C++ libraries. While several semi-automatic solutions and tools exist to wrap C++ libraries (RCPP, Boost.Python), the process of wrapping a large C++ library is cumbersome and time consuming. Some solutions have been developed in the past (e.g. Py++ or XDress) but require to write complex code to automate the process, and rely on technologies that are not maintained. AutoWIG relies on the LLVM/Clang technology for parsing C/C++ code and the Mako templating engine for generating Boost.Python wrappers. We will illustrate the usage of AutoWIG on a complex collection of C++ libraries for statistical analysis.
Document type :
Conference papers
Complete list of metadatas

Cited literature [8 references]  Display  Hide  Download

https://hal.inria.fr/hal-01316276
Contributor : Pierre Fernique <>
Submitted on : Monday, May 16, 2016 - 2:00:21 PM
Last modification on : Monday, October 19, 2020 - 11:09:46 AM
Long-term archiving on: : Wednesday, November 16, 2016 - 5:43:38 AM

File

submission_167.pdf
Files produced by the author(s)

Identifiers

  • HAL Id : hal-01316276, version 1

Citation

Pierre Fernique. AutoWIG : automatisation de l'encapsulation de librairies C++ en Python et en R. 48èmes Journées de Statistique de la SFdS Montpellier, May 2016, Montpellier, France. pp.6. ⟨hal-01316276⟩

Share

Metrics

Record views

454

Files downloads

299