Common Package Specification (CPS) in Practice: A Full Round Trip Implementation in Conan C++ Package
Common Package Specification (CPS) in practice: A full round trip implementation in Conan C++ package manager CppCon24Outline - Introduction to Common Package Specification (CPS) - Creation of CPS CMake projects Why a Common Package Specification (CPS) 4Common Package Specification (CPS) ZLib zlib.cps 5 …Existing solutions Searching for Convergence in C++ Package Management - Bret Brown & Daniel Daniel Ruoso - CppNow 2022 Case For a Standardized Package Description Format for External C++ Libraries by Luis Caro Campos - CppCon22 6 set(_ZLIB_x86 "(x86)") set(_ZLIB_SEARCH_NORMAL PATHS "[HKE0 码力 | 66 页 | 1.76 MB | 5 月前3A Journey Into Non-Virtual Polymorphism
Rud Merriam | A Journey into Non-Virtual Polymorphism 2 Who Doesn’t Recognize This?? 1990 Borland Turbo C++Cppcon 2023 | Rud Merriam | A Journey into Non-Virtual Polymorphism 3 Background ● Experience – Medium.com (https://medium.com/@rudmerriam)Cppcon 2023 | Rud Merriam | A Journey into Non-Virtual Polymorphism 4 Polymorphism ● Greek: “many forms” (Obligatory statement) ● The use of a single variableCppcon 2023 | Rud Merriam | A Journey into Non-Virtual Polymorphism 5 Polymorphic Variables ● Base class pointer to derived class – Virtual functions are not bad! ● Standard Template Library0 码力 | 43 页 | 536.84 KB | 5 月前3Optimizing Away Virtual Functions May Be Pointless
carePhoto by Tech Nick on unsplashSimple benchmark class Base { public: int concrete() const; virtual int virt() const; }; void benchmark(Base *b, size_t num_iterations) { auto start = Clock::now(); virt_duration = end-start;There are interesting technical details and surprising conclusions that virtual functions can be actually faster. Since CPU architectures are mentioned, I'd expect to see deep nt-vs-inheritance-vs-other- ways-performanceDoes it even matter?Conclusions ● The notion that “virtual functions are slower” is flat out wrong. ○ Which is not to say they are faster ○ Some of the suggested0 码力 | 20 页 | 1.19 MB | 5 月前3Common Package Specification: Getting Build Tools to Talk to Each Other
A Common Package Specification: Getting Build Tools to Talk to Each Other Lessons Learned From Making Thousands of Binaries Consumable by Any Build System Diego Rodriguez-Losada @ CppCon 2023Outline configuration: Windows, x86_64, VS-2022, Release, static library 3. Install (system package manager or language package manager), build from source by the user, with that configuration 4. Pass information main(void){ … deflateInit(&defstream, Z_BEST_COMPRESSION); Build system scripts What is a package 5 ZLib - Independent unit of build and release (versionable) - Ready to use (binary)#include0 码力 | 94 页 | 1.58 MB | 5 月前3BehaviorTree.CPP: Task Planning for Robots and Virtual Agents
name, const NodeConfig& config) : SyncActionNode(name, config) {} // You must override this virtual function NodeStatus tick() override { std::cout << "Type: [ApproachEnemy]. Instance:" <<0 码力 | 59 页 | 7.97 MB | 5 月前3Conda 25.1.x Documentation
Index 769 i ii conda, Release 25.1.2.dev1 Welcome to conda's documentation! Conda provides package, dependency, and environment management for any language. Here, you will find everything you need up 4.1 User guide 4.1.1 Getting started with conda Conda is a powerful command line tool for package and environment management that runs on Windows, macOS, and Linux. This guide to getting started Conda allows you to create separate environments, each containing their own files, packages, and package dependencies. The contents of each environment do not interact with each other. The most basic way0 码力 | 822 页 | 5.20 MB | 7 月前3Conda 24.11.x Documentation
Index 765 i ii conda, Release 24.11.3.dev2 Welcome to conda's documentation! Conda provides package, dependency, and environment management for any language. Here, you will find everything you need up 4.1 User guide 4.1.1 Getting started with conda Conda is a powerful command line tool for package and environment management that runs on Windows, macOS, and Linux. This guide to getting started Conda allows you to create separate environments, each containing their own files, packages, and package dependencies. The contents of each environment do not interact with each other. The most basic way0 码力 | 818 页 | 5.21 MB | 7 月前3Conda 24.9.x Documentation
Index 747 i ii conda, Release 24.9.3.dev1 Welcome to conda's documentation! Conda provides package, dependency, and environment management for any language. Here, you will find everything you need up 4.1 User guide 4.1.1 Getting started with conda Conda is a powerful command line tool for package and environment management that runs on Windows, macOS, and Linux. This guide to getting started Conda allows you to create separate environments, each containing their own files, packages, and package dependencies. The contents of each environment do not interact with each other. The most basic way0 码力 | 799 页 | 5.26 MB | 7 月前3Conda 24.7.x Documentation
Index 749 Index 753 i ii conda, Release 24.7.1 Welcome to conda's documentation! Conda provides package, dependency, and environment management for any language. Here, you will find everything you need up 4.1 User guide 4.1.1 Getting started with conda Conda is a powerful command line tool for package and environment management that runs on Windows, macOS, and Linux. This guide to getting started Conda allows you to create separate environments, each containing their own files, packages, and package dependencies. The contents of each environment do not interact with each other. The most basic way0 码力 | 808 页 | 4.97 MB | 7 月前3Conda 24.5.x Documentation
Index 739 i ii conda, Release 24.5.1.dev1 Welcome to conda's documentation! Conda provides package, dependency, and environment management for any language. Here, you will find everything you need up 4.1 User guide 4.1.1 Getting started with conda Conda is a powerful command line tool for package and environment management that runs on Windows, macOS, and Linux. This guide to getting started Conda allows you to create separate environments, each containing their own files, packages, and package dependencies. The contents of each environment do not interact with each other. The most basic way0 码力 | 794 页 | 5.01 MB | 7 月前3
共 1000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 100