Writing Python Bindings for C++ Libraries: Easy-to-use PerformancePython? ● 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 Cython 476ns 119ns 57ns 54ns 61K *: C++ program contains the std::chrono library to time, others use python to do that Everything compiled with clang++12 -fPIC -O3Some perf numbers: per increment runtime boost::python::object ○ boost::python::object is a smart pointer around a PyObject* ○ Only useful to use bpy::object if you’re going to keep it around ○ Why would we want to do this?Arguments to functions0 码力 | 118 页 | 2.18 MB | 6 月前3
Coroutine Patterns and How to Use Them: Problems and Solutions Using Coroutines in a Modern CodebaseFrancesco Zoffoli - Coroutine Patterns and How to Use Them - CppCon 2023 2About Me • Software engineer building monitoring systems at • Passionate about C++ • Author of the book “C++ Fundamentals” – Packt Packt • I like writing and talking about C++ Francesco Zoffoli - Coroutine Patterns and How to Use Them - CppCon 2023 3 makers.f.dev@gmail.comOutline • Motivation • Overview • Patterns • Lifetime Coroutine Patterns and How to Use Them - CppCon 2023 4Motivation • 40 years of • Experience • Accumulated knowledge Francesco Zoffoli - Coroutine Patterns and How to Use Them - CppCon 2023 5Motivation0 码力 | 70 页 | 1.45 MB | 6 月前3
Conan 1.31 Documentation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 132 11 Mastering Conan 149 11.1 Use conanfile.py for consumers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C++ standard [EXPERIMENTAL] . . . . . . . . . . . . . . . . . . . . . . . . . . . 317 16.9 How to use Docker to create and cross-build C and C++ Conan packages . . . . . . . . . . . . . . . 318 16.10 version from text or build files . . . . . . . . . . . . . . . . . . . . . . . . . 338 16.23 How to use Conan as other language package manager . . . . . . . . . . . . . . . . . . . . . . . . . 339 16.240 码力 | 721 页 | 5.41 MB | 1 年前3
Conan 1.26 Documentation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124 10 Mastering Conan 131 10.1 Use conanfile.py for consumers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C++ standard [EXPERIMENTAL] . . . . . . . . . . . . . . . . . . . . . . . . . . . 285 15.9 How to use Docker to create and cross-build C and C++ Conan packages . . . . . . . . . . . . . . . 286 15.10 version from text or build files . . . . . . . . . . . . . . . . . . . . . . . . . 306 15.23 How to use Conan as other language package manager . . . . . . . . . . . . . . . . . . . . . . . . . 306 15.240 码力 | 669 页 | 5.51 MB | 1 年前3
Conan 1.20 Documentation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114 10 Mastering Conan 121 10.1 Use conanfile.py for consumers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C++ standard [EXPERIMENTAL] . . . . . . . . . . . . . . . . . . . . . . . . . . . 262 14.8 How to use Docker to create and cross-build C and C++ Conan packages . . . . . . . . . . . . . . . 264 14.9 How version from text or build files . . . . . . . . . . . . . . . . . . . . . . . . . 283 14.22 How to use Conan as other language package manager . . . . . . . . . . . . . . . . . . . . . . . . . 284 14.230 码力 | 611 页 | 4.89 MB | 1 年前3
Conan 1.30 Documentation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 132 11 Mastering Conan 149 11.1 Use conanfile.py for consumers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C++ standard [EXPERIMENTAL] . . . . . . . . . . . . . . . . . . . . . . . . . . . 313 16.9 How to use Docker to create and cross-build C and C++ Conan packages . . . . . . . . . . . . . . . 314 16.10 version from text or build files . . . . . . . . . . . . . . . . . . . . . . . . . 334 16.23 How to use Conan as other language package manager . . . . . . . . . . . . . . . . . . . . . . . . . 335 16.240 码力 | 715 页 | 5.39 MB | 1 年前3
Conan 1.19 Documentation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114 10 Mastering Conan 121 10.1 Use conanfile.py for consumers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C++ standard [EXPERIMENTAL] . . . . . . . . . . . . . . . . . . . . . . . . . . . 262 14.8 How to use Docker to create and cross-build C and C++ Conan packages . . . . . . . . . . . . . . . 264 14.9 How version from text or build files . . . . . . . . . . . . . . . . . . . . . . . . . 283 14.22 How to use Conan as other language package manager . . . . . . . . . . . . . . . . . . . . . . . . . 284 14.230 码力 | 609 页 | 4.88 MB | 1 年前3
Conan 1.29 Documentation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 128 10 Mastering Conan 143 10.1 Use conanfile.py for consumers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C++ standard [EXPERIMENTAL] . . . . . . . . . . . . . . . . . . . . . . . . . . . 307 15.9 How to use Docker to create and cross-build C and C++ Conan packages . . . . . . . . . . . . . . . 308 15.10 version from text or build files . . . . . . . . . . . . . . . . . . . . . . . . . 328 15.23 How to use Conan as other language package manager . . . . . . . . . . . . . . . . . . . . . . . . . 328 15.240 码力 | 703 页 | 5.41 MB | 1 年前3
Conan 1.16 Documentation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98 9 Mastering Conan 103 9.1 Use conanfile.py for consumers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C++ standard [EXPERIMENTAL] . . . . . . . . . . . . . . . . . . . . . . . . . . . 226 13.8 How to use Docker to create and cross-build C and C++ Conan packages . . . . . . . . . . . . . . . 228 ii 13 version from text or build files . . . . . . . . . . . . . . . . . . . . . . . . . 248 13.21 How to use Conan as other language package manager . . . . . . . . . . . . . . . . . . . . . . . . . 249 13.220 码力 | 545 页 | 4.34 MB | 1 年前3
Conan 1.24 Documentation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 116 10 Mastering Conan 123 10.1 Use conanfile.py for consumers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C++ standard [EXPERIMENTAL] . . . . . . . . . . . . . . . . . . . . . . . . . . . 275 15.9 How to use Docker to create and cross-build C and C++ Conan packages . . . . . . . . . . . . . . . 276 15.10 version from text or build files . . . . . . . . . . . . . . . . . . . . . . . . . 296 15.23 How to use Conan as other language package manager . . . . . . . . . . . . . . . . . . . . . . . . . 296 15.240 码力 | 647 页 | 5.31 MB | 1 年前3
共 362 条
- 1
- 2
- 3
- 4
- 5
- 6
- 37













