Writing Python Bindings for C++ Libraries: Easy-to-use Performance
Python? ● 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 | 5 月前3Coroutine Patterns and How to Use Them: Problems and Solutions Using Coroutines in a Modern Codebase
Francesco 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 | 5 月前3Game Development for Human Beings
From Scratch ............ 332 How to use Pathfinding in Phaser .................................................................................... 353 How to Use State Machines to Control Behavior and HUD Plugin in Phaser ................................................................ 425 How to Use Phaser Signals to Save Game Statistics ....................................................... 452 namespace will be SpaceHipser. You can use whatever you want for this, as long as it’s a unique name which will be unlikely found elsewhere. You can also just not use it and work directly with game and the0 码力 | 472 页 | 8.46 MB | 10 月前3Comprehensive Rust(English) 202412
Visibility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 161 4 26.4 use, super, self . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 161 26.5 Exercise: then you will be able to follow along just fine too. This is an example of a speaker note. We will use these to add additional information to the slides. This could be key points which the instructor should @reta. • Farsi by @DannyRavi, @javad-jafari, @Alix1383, @moaminsharifi, @hamidrezakp and @mehrad77. Use the language picker in the top-right corner to switch between languages. Incomplete Translations0 码力 | 382 页 | 1.00 MB | 10 月前3Comprehensive Rust(Persian ) 202412
� � � � � � � . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 166 4 26.4 use, super, self . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 167 26.5 � � � � � � � � � � � � ) interactive ( � � � � � : fn main ) ( } println!("Edit me ! " ( ; { You can use Ctrl + Enter to execute the code when focus is in the text box . � � � � � � � � � � � � � � � � � � � � � � � � � � continue � � � � � � � � � � � . If you want to exit any kind of loop early, use break. With loop, this can take an optional expression that becomes the value of the loop expression0 码力 | 393 页 | 987.97 KB | 10 月前3Comprehensive Rust(Ukrainian) 202412
26.3 Видимість . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 166 4 26.4 use, super, self . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 167 26.5 Вправа: println!("{i}"); if i > 100 { break; } } } • The loop statement works like a while true loop. Use it for things like servers which will serve connections forever. 6.3 break та continue Якщо ви хочете зазначити, що компілятор не надає жодних гарантій щодо цього представлення, тому це абсолютно небезпечно. use std::mem::transmute; macro_rules! dbg_bits { ($e:expr, $bit_type:ty) => { println!("- {}: {:#x}"0 码力 | 396 页 | 1.08 MB | 10 月前3Oracle VM VirtualBox 5.2.40 User Manual
introduction to virtualization and how to get your first virtual machine running with the easy-to-use VirtualBox graphical user interface. Subsequent chapters will go into much more detail covering more tools and features, but fortunately, it is not necessary to read the entire User Manual before you can use VirtualBox. You can find a summary of VirtualBox’s capabilities in chapter 1.3, Features overview, operating system on another (for example, Windows software on Linux or a Mac) without having to reboot to use it. Since you can configure what kinds of “virtual” hardware should be presented to each such operating0 码力 | 387 页 | 4.27 MB | 6 月前3Oracle VM VirtualBox 5.2.12 User Manual
introduction to virtualization and how to get your first virtual machine running with the easy-to-use VirtualBox graphical user interface. Subsequent chapters will go into much more detail covering more tools and features, but fortunately, it is not necessary to read the entire User Manual before you can use VirtualBox. You can find a summary of VirtualBox’s capabilities in chapter 1.3, Features overview, operating system on another (for example, Windows software on Linux or a Mac) without having to reboot to use it. Since you can configure what kinds of “virtual” hardware should be presented to each such operating0 码力 | 380 页 | 4.23 MB | 6 月前3Conda 25.1.x Documentation
distribtions to install conda: Miniconda Miniconda is an installer by Anaconda that comes preconfigured for use with the Anaconda Repository. See the notes about Anaconda's Terms of Service. Windows x86_64 macOS Miniforge Miniforge is an installer maintained by the conda-forge community that comes preconfigured for use with the conda-forge channel. Windows x86_64 macOS arm64 (Apple Silicon) macOS x86_64 (Intel) Linux practices for using them in your projects � See also Want to get even more in-depth training on how to use conda for free? Check out Anaconda's free course on conda basics. 5 conda, Release 25.1.2.dev1 60 码力 | 822 页 | 5.20 MB | 7 月前3Conda 24.11.x Documentation
distribtions to install conda: Miniconda Miniconda is an installer by Anaconda that comes preconfigured for use with the Anaconda Repository. See the notes about Anaconda's Terms of Service. Windows x86_64 macOS Miniforge Miniforge is an installer maintained by the conda-forge community that comes preconfigured for use with the conda-forge channel. Windows x86_64 macOS arm64 (Apple Silicon) macOS x86_64 (Intel) Linux practices for using them in your projects � See also Want to get even more in-depth training on how to use conda for free? Check out Anaconda's free course on conda basics. 5 conda, Release 24.11.3.dev20 码力 | 818 页 | 5.21 MB | 7 月前3
共 490 条
- 1
- 2
- 3
- 4
- 5
- 6
- 49