Writing Python Bindings for C++ Libraries: Easy-to-use Performancesystems (C++ and Python) ○ Data volume in terabytes ● Program analysis research and functional programming in a past life ● Love performance, software abstractions, and clean APIsWhy Python? ● Writing Writing extensive APIs in Python - low boilerplate ● Familiar for domain experts ● Easy to use ○ Amazing interactive support out of the box (IPython) ○ Jupyter notebooks provide a great research environment CppCon :) Why Python? Why C++?● Why? ○ Avoid reimplementing complex code for Python ○ Performance ○ Back and forth with user’s python code ○ Interoperability with data structures in Python - shared memory0 码力 | 118 页 | 2.18 MB | 6 月前3
Conan 1.3 Documentationbinaries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 3.5 Initial configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . create and cross build C and C++ conan packages . . . . . . . . . . . . . . . . 178 12.9 How to reuse Python code in recipes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 180 12.10 name, version, user and channel, a package recipe is needed. Such a package recipe is a conanfile.py python script that defines how the package is built from sources, what the final binary artifacts are, the0 码力 | 397 页 | 2.77 MB | 1 年前3
Conan 1.20 Documentation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 2.8 Python 2 Deprecation Notice . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Packages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 3.5 Building with Other Configurations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 147 12.2 Python requires: reusing code [EXPERIMENTAL] . . . . . . . . . . . . . . . . . . . . . . . . . . . 1500 码力 | 611 页 | 4.89 MB | 1 年前3
Conan 1.19 Documentation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 2.8 Python 2 Deprecation Notice . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Packages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 3.5 Building with Other Configurations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 147 12.2 Python requires: reusing code [EXPERIMENTAL] . . . . . . . . . . . . . . . . . . . . . . . . . . . 1500 码力 | 609 页 | 4.88 MB | 1 年前3
Conan 1.4 Documentationbinaries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 3.5 Initial configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . create and cross build C and C++ conan packages . . . . . . . . . . . . . . . . 188 13.9 How to reuse Python code in recipes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 190 13.10 name, version, user and channel, a package recipe is needed. Such a package recipe is a conanfile.py python script that defines how the package is built from sources, what the final binary artifacts are, the0 码力 | 421 页 | 2.84 MB | 1 年前3
Conan 1.7 Documentationsource . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 2.7 Python 2 Deprecation Notice . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Dependencies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 3.5 Searching Packages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86 9 Mastering conan 91 9.1 Python requires: reusing python code in recipes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91 9.2 Use0 码力 | 433 页 | 2.95 MB | 1 年前3
Conan 1.9 Documentation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 2.8 Python 2 Deprecation Notice . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Packages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 3.5 Building with Other Configurations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115 11 Extending Conan 119 11.1 Python requires: reusing python code in recipes [EXPERIMENTAL] . . . . . . . . . . . . . . . . . 119 11.2 Hooks [EXPERIMENTAL]0 码力 | 470 页 | 3.05 MB | 1 年前3
Conan 1.16 Documentation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 2.8 Python 2 Deprecation Notice . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Packages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 3.5 Building with Other Configurations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 131 11.2 Python requires: reusing code [EXPERIMENTAL] . . . . . . . . . . . . . . . . . . . . . . . . . . . 1340 码力 | 545 页 | 4.34 MB | 1 年前3
Conan 1.8 Documentation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 2.8 Python 2 Deprecation Notice . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Packages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 3.5 Building with Other Configurations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115 11 Extending Conan 119 11.1 Python requires: reusing python code in recipes [EXPERIMENTAL] . . . . . . . . . . . . . . . . . 119 11.2 Plugins [EXPERIMENTAL]0 码力 | 458 页 | 3.03 MB | 1 年前3
Conan 1.15 Documentation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 2.8 Python 2 Deprecation Notice . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Packages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 3.5 Building with Other Configurations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 133 11.2 Python requires: reusing code [EXPERIMENTAL] . . . . . . . . . . . . . . . . . . . . . . . . . . . 1360 码力 | 540 页 | 4.22 MB | 1 年前3
共 148 条
- 1
- 2
- 3
- 4
- 5
- 6
- 15













