2.5 Go Modules in day to day life - Florin PatanJET BRAINS Go Modules in day to day life Go Modules in day to day life A brief history of package management Go Modules explained Resources 1. A brief history of package management go get various various community solutions (xkcd 927) godep Go Modules 1.1. go get add new dependencies to project (GOPATH) update existing dependencies (only to latest version) cannot remove unused dependencies ETC) ’ alt=‘OCR图片’/> 1.3. godep Go Team’s experiment on Package Management Implemented mostly by community Converge to a single, widely used, tool 2. Go Modules Announced in February 2018 Based0 码力 | 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  p3_1.jpg)  ## go modules  ## reproducible e4/p5_1.jpg) ## Use go modules correctly module github.com/stretchcr/testify module github.com/stretchcr/testify 4 github.com/davecgh/go-spew v1.1.0 5 github.com/pmezard/go-difflib v1.0.0 6 github0 码力 | 19 页 | 9.22 MB | 2 年前3
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  Creative Assembly • we get there? • Implement reflection • Go over current techniques • Modules • Patterns and Tricks for runtime reflection ## I mplementing an RTTI runtime • Go from client API json sanitize_struct(any [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 












