Filters








3 Hits in 1.4 sec

AutoWIG: Automatic Generation of Python Bindings for C++ Libraries [article]

Pierre Fernique, Christophe Pradal
2017 arXiv   pre-print
Our approach is automatic, extensible, and applies to complex C++ libraries, composed of thousands of classes or incorporating modern meta-programming constructs.  ...  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.  ...  Supplementary materials AutoWIG The source code of AutoWIG is available on GitHub (http:  ... 
arXiv:1705.11000v1 fatcat:jf4ecoa37nb4lijduodiixo3zu

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

Pierre Fernique, Christophe Pradal
2018 PeerJ Computer Science  
Our approach is automatic, extensible, and applies to complex C++ libraries, composed of thousands of classes or incorporating modern meta-programming constructs.  ...  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.  ...  ACKNOWLEDGEMENTS We thanks Yann Guédon for providing the StructureAnalysis libraries, an interesting guinea-pig library set.  ... 
doi:10.7717/peerj-cs.149 fatcat:flcoynx76bbctgxtwx6iix4m5i

Dynamic generation of Python bindings for HPC kernels [article]

Junlin Steven Zhu, Austin, The University Of Texas At, Milos Gligoric
2021
We present a technique, dubbed WayOut, which automatically generates the entire connection layer for HPKs invoked from Python and written in C/C++.  ...  WayOut performs a hybrid analysis: it statically analyzes header files to generate Python wrapper classes and functions, and dynamically generates bindings for those kernels.  ...  Prior work on automatic generation of Python bindings for C++ code [3, 24] extracts library APIs by parsing header files for class and function declarations.  ... 
doi:10.26153/tsw/14357 fatcat:bd3a4zvkhzf2no5fzfg4rhyway