Mastering C++ Modules## 20 24 September 15 - 20 ## +24 ## import CMake; // Mastering C++ Modules ## BILL HOFFMAN ## CMake / Sandal / Kitware  c8e179/p6_2.jpg) ## Enough with the Background Let's Talk Modules! ## C++ Named Modules Only Bloomberg Engineering ## C++ Modules: The Challenges of Implementing Header Units C++Now 2023 May nts/c/2/6/e/c26ec0084396c02bc15cec03c0c8e179/p9_2.jpg) Yes, CMake has added support for C++20 modules in version 3.21. This means you can use CMake to build C++20 projects that make use of the new module0 码力 | 77 页 | 9.07 MB | 1 年前3
A (Short) Tour of C++ Modules## A (Short) Tour of C++ Modules ## +21 ## DANIELA ENGERT ## 20 21 October 24-29 ## A (SHORT) TOUR OF C++ MODULES Modules demystified and applied Daniela Engert - CppCon 2021 ## ABOUT ME • Electrical years • Member of the C++ committee (learning novice) • employed by ## OVERVIEW • Modules Foundations ☐ C++20 Modules, a short recap ■ Module unit types and Module composition ■ Visibility of Identifiers linker symbols • Modules in practice ■ Moving towards modules (by example) ☐ Imports are different! Is it worth it? (a case study) ■ The state of the ecosystem ## C++20 MODULES ## a short recap translation0 码力 | 62 页 | 4.20 MB | 1 年前3
C++ Modules: Getting Started Today## +23 ## C++ Modules: Getting Started Today ## ANDREAS WEIS ## 20 23 October 01 - 06 ## C++ Modules - Getting Started Today Andreas Weis Woven by Toyota CppCon 2023 ## About me - Andreas Weis (he/him) File: module.cpp export module my_module; export char const* my_function() { return "Hello Modules!"; } — File: main.cpp #includeimport my_module; int main() { std::println("{}" getS() { struct S { int i = 42; }; return S{}; } Daniela Engert - The three secret spices of C++ Modules - Visibility, Reachability, Linkage ## Meeting C++ online ## SELECTIVE VISIBILITY  incomplete ODR checks, and demand complete trust ## Modules and ODR ## One Definition to its definition begins “the great hunt” ## The Global Module ■ Everything we used to do before Modules - Merry mess ■ Provide no ODR guarantees – Responsibility of the programmer Complete ODR check0 码力 | 53 页 | 1.33 MB | 1 年前3
C++20 Modules: The Packaging and Binary Redistribution Story## 20 23 October 01 - 06 ## +23 ## C++20 Modules: The Packaging and Binary Redistribution Story ## LUIS CARO CAMPOS ## C++20 Modules: The Packaging and Binary Redistribution Story  godep Go Modules 1.1. go get add new dependencies to project (GOPATH) update existing dependencies (only to latest version) cannot remove unused dependencies widely used, tool 2. Go Modules Announced in February 2018 Based on learnings from godep Changes how we think about dependency management Optional in Go 1.11 (GO111MODULES=on) Default outside of0 码力 | 13 页 | 426.99 KB | 1 月前3
Building a central Go modules repository: GoCenter’s back to the future## Building a central Go modules repository: GoCenter's back to the future GopherCon 2019 Lightning Talk Ankush Chadha  _1.jpg)  ## go modules  ## reproducible builds  ## Use go modules correctly module github.com/stretchcr/testify module github.com/stretchcr/testify 4 github.com/davecgh/go-spew0 码力 | 19 页 | 9.22 MB | 2 年前3
Beyond Compilation Databases to Support C++ Modules: Build Databases## +24 ## Beyond Compilation Databases to Support C++ Modules: Build Databases ## BEN BOECKEL ## Who am I? • 15 years working on build systems and software process • CMake developer ○ Designing and systems which use CMake ☐ C++ modules support • Working with the community to improve building software ☐ ISO standards ☐ Dependency format ☐ Pushing forward modules support in other build systems systems xmake □ bazel ## Outline 1. What are compilation databases? 2. How do modules change the status quo? 3. Build databases ## Compilation Databases: Overview • JSON document • Array of JSON objects0 码力 | 31 页 | 585.05 KB | 1 年前3
Implementing Reflection Using the New C++20 Tooling Opportunity: Modules## +24 ## I mplementing Reflection Using the New C++20 Tooling Opportunity: Modules ## MAIKO STEEMAN ## About me • Tools & Engine programmer • AAA Games Industry • (prev) Creative Assembly • 402/p7_1.jpg) ## How do we get there? • Implement reflection • Go over current techniques • Modules • Patterns and Tricks for runtime reflection ## I mplementing an RTTI runtime • Go from client [Image](/uploads/documents/6/5/7/6/6576c6f9d1987f99771d61126d94b402/p22_1.jpg) ## What happens with modules? • "Modules are a tooling opportunity" - Gabriel dos Reis • Fast! Work already happened 












