Remote Execution Caching Compiler (RECC)Execution Caching Compiler (RECC) CppCon 2024 September 19, 2024 Shivam Bairoliya Software Engineer© 2024 Bloomberg Finance L.P. All rights reserved. What is RECC? ● Remote Execution Caching Compiler service ○ Encompasses the capabilities of both ccache and distcc ○ Supports remote linking and caching ● Designed to share caches across diverse toolchains ○ Works with many compiler toolchains (GCC Bloomberg Finance L.P. All rights reserved. Caching Action Cache Redis CAS S3 PostgreSQL recc (compiler launcher) Client Host BuildBox-CASD (Local Caching Proxy) Execution buildbox-run- bubblewrap0 码力 | 6 页 | 2.03 MB | 6 月前3
C++20 Modules: The Packaging and Binary Redistribution StoryC++20 Modules: The Packaging and Binary Redistribution StoryScope ● Brief introduction on C++ modules and their advantages ● Focus on named modules ● Using modules today ○ Can we package module-ready |-- fmt-config.cmake | `-- fmt-targets.cmake └── libfmt.{a|so|dylib|lib} Headers Binary library “Usage requirements”C++ 20: The import keyword clang++ -std=c++20 -o hello_world.cpp.o file with module name <> file mappings) The compiler needs to locate and load the binary module interface (BMI) 👇:Binary module interfaces export module fmt; export namespace fmt { … } fmt.cc fmt0 码力 | 76 页 | 2.09 MB | 6 月前3
PyConChina2022-深圳-大规模生产环境下的Faster CPython-王文洋2 LOAD_CONST 1 ('https://example.com') 4 LOAD_FAST 0 (path) 6 BINARY_OP 0 (+) 10 RETURN_VALUE 3 0 RESUME_QUICK 0 4 2 LOAD_CONST__LOAD_FAST LOAD_CONST__LOAD_FAST 1 ('https://example.com') 4 LOAD_FAST 0 (path) 6 BINARY_OP_ADAPTIVE 0 (+) 10 RETURN_VALUE PEP 659: Specializing Adaptive Interpreter 3 LOAD_CONST__LOAD_FAST 1 ('https://example.com') 4 LOAD_FAST 0 (path) 6 BINARY_OP_ADD_UNICODE 0 (+) 10 RETURN_VALUE get_url ("/host") # quicken + specialize print(dis0 码力 | 31 页 | 2.47 MB | 1 年前3
Conda 25.1.x DocumentationUsing with fish shell To use conda with fish shell, run the following in your terminal: Add conda binary to $PATH, if not yet added: fish_add_path/condabin Configure fish-shell: which needs to be replaced by the install prefix at installation time. � Note Due to the way the binary replacement works, the placeholder prefix must be longer than the install prefix. Each line of this mode, and path, where: • Placeholder is the build or placeholder prefix. • Mode is either text or binary. • Path is the relative path of the file to be updated. EXAMPLE: On Windows: "Scripts/script1 0 码力 | 822 页 | 5.20 MB | 8 月前3
Conda 24.11.x DocumentationUsing with fish shell To use conda with fish shell, run the following in your terminal: Add conda binary to $PATH, if not yet added: fish_add_path/condabin Configure fish-shell: which needs to be replaced by the install prefix at installation time. � Note Due to the way the binary replacement works, the placeholder prefix must be longer than the install prefix. Each line of this mode, and path, where: • Placeholder is the build or placeholder prefix. • Mode is either text or binary. • Path is the relative path of the file to be updated. EXAMPLE: On Windows: "Scripts/script1 0 码力 | 818 页 | 5.21 MB | 8 月前3
COMPOSABLE C++build on composability of bool bool:: control �ow: almost all algorithms and loops, really a lot of caching schemes (or idempotent calculations)bool bool UNDERLIES SO MUCH UNDERLIES SO MUCH It seems so trivial build on composability of bool bool:: control �ow: almost all algorithms and loops, really a lot of caching schemes (or idempotent calculations) polling/non-blocking functionsbool bool UNDERLIES SO MUCH UNDERLIES build on composability of bool bool:: control �ow: almost all algorithms and loops, really a lot of caching schemes (or idempotent calculations) polling/non-blocking functions Chain of Responsibility patternbool0 码力 | 124 页 | 8.28 MB | 6 月前3
Conda 24.9.x DocumentationUsing with fish shell To use conda with fish shell, run the following in your terminal: Add conda binary to $PATH, if not yet added: fish_add_path/condabin Configure fish-shell: which needs to be replaced by the install prefix at installation time. � Note Due to the way the binary replacement works, the placeholder prefix must be longer than the install prefix. Each line of this mode, and path, where: • Placeholder is the build or placeholder prefix. • Mode is either text or binary. • Path is the relative path of the file to be updated. EXAMPLE: On Windows: "Scripts/script1 0 码力 | 799 页 | 5.26 MB | 8 月前3
Conda 24.7.x DocumentationUsing with fish shell To use conda with fish shell, run the following in your terminal: Add conda binary to $PATH, if not yet added: fish_add_path/condabin Configure fish-shell: which needs to be replaced by the install prefix at installation time. � Note Due to the way the binary replacement works, the placeholder prefix must be longer than the install prefix. Each line of this mode, and path, where: • Placeholder is the build or placeholder prefix. • Mode is either text or binary. • Path is the relative path of the file to be updated. EXAMPLE: On Windows: "Scripts/script1 0 码力 | 808 页 | 4.97 MB | 8 月前3
Jinja2 Documentation Release 2.10attribute when called without arguments but it will evaluate the template on every call rather than caching it. It’s also possible to provide a dict which is then used as context. The arguments are the same Environment.compile_templates(). 25 2.9 Bytecode Cache Jinja 2.1 and higher support external bytecode caching. Bytecode caches make it pos- sible to store the generated bytecode on the file system or a different (Unfortunately the django cache interface is not compatible because it does not support storing binary data, only unicode. You can however pass the underlying cache client to the bytecode cache which0 码力 | 148 页 | 475.08 KB | 1 年前3
Agda User Manual v2.6.2Using a released source package from Hackage [https://hackage.haskell.org/package/Agda] Using a binary package prepared for your platform Using the development version from the Git repository [https://github using Agda interactively as a proof assistant, and one for compiling Agda programs to an executable binary. For a more in-depth introduction to using Agda, see A taste of Agda or the list of tutorials. Hello press C-c C-x C-c or run agda --compile hello-world.agda from the command line. This will create a binary hello-world in the current directory that prints Hello world!. To find out more about the agda command0 码力 | 348 页 | 414.11 KB | 1 年前3
共 1000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 100













