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 月前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 月前3Oracle VM VirtualBox 4.2.32 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 码力 | 348 页 | 5.93 MB | 6 月前3Oracle VM VirtualBox 4.3.36 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 页 | 3.79 MB | 6 月前3Oracle VM VirtualBox 4.1.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 码力 | 310 页 | 4.87 MB | 6 月前3Tornado 6.5 Documentation
await asyncio.Event().wait() if __name__ == "__main__": asyncio.run(main()) This example does not use any of Tornado’s asynchronous features; for that see this simple chat room. 5Tornado Documentation the tornado.wsgi module, it is not a focus of development and most applications should be written to use Tornado’s own interfaces (such as tornado.web) directly instead of using WSGI. In general, Tornado only method in Tornado that is safe to call from other threads is IOLoop.add_callback. You can also use IOLoop.run_in_executor to asynchronously run a blocking function on another thread, but note that the0 码力 | 272 页 | 1.12 MB | 2 月前3Django CMS 3.11.10 Documentation
tailored to their precise needs. This is the developer documentation. To get an overview on how to use django CMS, see the django CMS User Guide [https://user-guide.django-cms.org/]. Tutorials Start here ted- versions] policy which django CMS adapts. Designated django CMS versions receive support for use with official Django LTS versions: Current LTS table django CMS Feature freeze Django End of long-term website. In fact, one of the added benefits of django CMS is that it offers a powerful yet easy to use interface for most common tasks of setting up a web site. You can focus on any specific needs of your0 码力 | 493 页 | 1.44 MB | 6 月前0.03Django CMS 3.9.x Documentation
sure yours is up-to-date, as earlier versions can be less reliable: pip install --upgrade pip 1.2.3. Use the django CMS installer The django CMS installer [https://github.com/nephila/djangocms-installer] templates CMS-ready. 2.1. Templates You can use HTML templates to customise the look of your website, define Placeholders to mark sections for managed content and use special tags to generate menus and more site’s templates in tutorial-project/mysite/mysite/templates. By default, pages in your site will use the fullwidth.html template, the first one listed in the project’s settings.py CMS_TEMPLATES tuple:0 码力 | 417 页 | 1.68 MB | 6 月前3
共 382 条
- 1
- 2
- 3
- 4
- 5
- 6
- 39