Breaking Dependencies: The SOLID Principles
Breaking Dependencies: The SOLID Principles Klaus Iglberger, CppCon 2020 klaus.iglberger@gmx.de2 Klaus Iglberger C++ Trainer since 2016 Author of the C++ math library (Co-)Organizer requirements) … and by that imposes minimum dependencies.79 The Interface Segregation Principle (ISP) Guideline: Make sure interfaces don’t induce unnecessary dependencies.80 Questions?81 The Dependency Inversion Inversion Principle (DIP) tells us that the most flexible systems are those in which source code dependencies refer only to abstractions, not to concretions.” (Robert C. Martin, Clean Architecture)830 码力 | 96 页 | 2.14 MB | 5 月前310 Problems Large Companies Have with Managing C++ Dependencies and How to Solve Them
10 Problems Large Companies Have Managing C++ Dependencies and How to Solve Them Augustin Popa, Microsoft C++ TeamIntroduction Augustin Popa Senior Product Manager, Microsoft C++ Team @augustin_popa features Other compiler flagsProblem 1: ABI incompatible C++ binaries Solution 1: Build C++ dependencies from source •Instead of consuming prebuilt libraries, establish a way to build them from source approaches: • “Build from source” package manager like vcpkg or Conan • Leverage CI to build dependencies and use the binaries • Teams that own libraries share build instructions • Monorepo: build0 码力 | 46 页 | 917.72 KB | 5 月前3Conan 2.10 Documentation
from/to the cache . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 165 5.7 Vendoring dependencies in Conan packages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 166 6 Integrations artifacts. A package is defined by a “conanfile.py”. This is a file that defines the package’s dependencies, sources, how to build the binaries from sources, etc. One package “conanfile.py” recipe can generate immutability allows for improved processes, downloading, installing and updated dependencies as well as uploading dependencies. The revisions allow accurate traceability of artifacts, and thus allows better0 码力 | 803 页 | 5.02 MB | 10 月前3Conan 2.5 Documentation
from/to the cache . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 163 5.7 Vendoring dependencies in Conan packages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 164 6 Integrations artifacts. A package is defined by a “conanfile.py”. This is a file that defines the package’s dependencies, sources, how to build the binaries from sources, etc. One package “conanfile.py” recipe can generate immutability allows for improved processes, downloading, installing and updated dependencies as well as uploading dependencies. The revisions allow accurate traceability of artifacts, and thus allows better0 码力 | 769 页 | 4.70 MB | 1 年前3Conan 2.4 Documentation
from/to the cache . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 163 5.7 Vendoring dependencies in Conan packages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 164 6 Integrations artifacts. A package is defined by a “conanfile.py”. This is a file that defines the package’s dependencies, sources, how to build the binaries from sources, etc. One package “conanfile.py” recipe can generate immutability allows for improved processes, downloading, installing and updated dependencies as well as uploading dependencies. The revisions allow accurate traceability of artifacts, and thus allows better0 码力 | 769 页 | 4.69 MB | 1 年前3Conan 2.9 Documentation
from/to the cache . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 165 5.7 Vendoring dependencies in Conan packages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 166 6 Integrations artifacts. A package is defined by a “conanfile.py”. This is a file that defines the package’s dependencies, sources, how to build the binaries from sources, etc. One package “conanfile.py” recipe can generate immutability allows for improved processes, downloading, installing and updated dependencies as well as uploading dependencies. The revisions allow accurate traceability of artifacts, and thus allows better0 码力 | 795 页 | 4.99 MB | 10 月前3Conan 2.0 Documentation
artifacts. A package is defined by a “conanfile.py”. This is a file that defines the package’s dependencies, sources, how to build the binaries from sources, etc. One package “conanfile.py” recipe can generate immutability allows for improved processes, downloading, installing and updated dependencies as well as uploading dependencies. The revisions allow accurate traceability of artifacts, and thus allows better library/venv.html). If not using a virtualenv it is possible that conan dependencies will conflict with previously existing dependencies, especially if you are using Python for other purposes. • In OSX, especially0 码力 | 652 页 | 4.00 MB | 1 年前3Conan 2.8 Documentation
from/to the cache . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 163 5.7 Vendoring dependencies in Conan packages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 164 6 Integrations artifacts. A package is defined by a “conanfile.py”. This is a file that defines the package’s dependencies, sources, how to build the binaries from sources, etc. One package “conanfile.py” recipe can generate immutability allows for improved processes, downloading, installing and updated dependencies as well as uploading dependencies. The revisions allow accurate traceability of artifacts, and thus allows better0 码力 | 785 页 | 4.95 MB | 10 月前3Conan 2.7 Documentation
from/to the cache . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 163 5.7 Vendoring dependencies in Conan packages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 164 6 Integrations artifacts. A package is defined by a “conanfile.py”. This is a file that defines the package’s dependencies, sources, how to build the binaries from sources, etc. One package “conanfile.py” recipe can generate immutability allows for improved processes, downloading, installing and updated dependencies as well as uploading dependencies. The revisions allow accurate traceability of artifacts, and thus allows better0 码力 | 779 页 | 4.93 MB | 10 月前3Conan 2.6 Documentation
from/to the cache . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 163 5.7 Vendoring dependencies in Conan packages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 164 6 Integrations artifacts. A package is defined by a “conanfile.py”. This is a file that defines the package’s dependencies, sources, how to build the binaries from sources, etc. One package “conanfile.py” recipe can generate immutability allows for improved processes, downloading, installing and updated dependencies as well as uploading dependencies. The revisions allow accurate traceability of artifacts, and thus allows better0 码力 | 777 页 | 4.91 MB | 10 月前3
共 1000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 100