Back To Basics Lifetime Management## +24 ## Back To Basics Lifetime Management ## PHIL NASH ## 20 24 September 15 - 20 ## C++ is complex  mostly for historical https://www.sonarsource.com/blog/beyond-the-rules-of-three-five-and-zero/ ## +24 ## Back To Basics Lifetime Management ## PHIL NASH ## 20 24 September 15 - 200 码力 | 66 页 | 8.43 MB | 1 年前3
Object Lifetime: From Start to Finish## +23 ## Object Lifetime: From Start to Finish ## THAMARA ANDRADE ## 20 23 October 01 - 06 ## Object Lifetime ## From Start to Finish int main() { if (doSomething(Foo().getBar())) { // realizing I didn’t really understand the rules for object lifetime. ## What is object lifetime anyway? ### 6.8 Object lifetime [basic.life] The lifetime of an object or reference is a runtime property of the Initialization by a trivial copy/move constructor is non-vacuous initialization. — end note] The lifetime of an object of type T begins when: (1.1) — storage with the proper alignment and size for type0 码力 | 214 页 | 9.34 MB | 1 年前3
GPU Resource Management On JDOS## GPU Resource Management On JDOS 梁永清 liangyongqing1@jd.com ## 提供的服务 ## Experiment ## Training 1. 用于实验的 GPU 容器 2. 基于 Kubeflow 的机器学习训练服务 3. 模型管理和模型 Serving 服务 ## Serving 均基于容器,不对业务方直接提供 GPU 物理机0 码力 | 11 页 | 13.40 MB | 1 年前3
Secrets Management at
Scale with Vault & Rancher24. June # Secrets Management at Scale with Vault & Rancher  Bastian Hofman Senior Field Engineer SUSE bastian.hofmann@suse Operations & Infrastructure Management (Run & Manage) K8s Version Management GitOps Continuous Delivery Cluster Templates & Config Enforcement Node Pool Management RBAC, OPA, Pod & Network Network Policies Cluster Provisioning & Lifecycle Management  kubernetes  Approaches to safety ## ↑ C++ is getting safer The lifetime safety toolbox What Commonly used languages, such as C and C++, provide a lot of freedom and flexibility in memory management while relying heavily on the programmer to perform the needed checks on memory references. Simple0 码力 | 124 页 | 2.03 MB | 1 年前3
Node Operator: Kubernetes Node Management Made Simple## Node Operator: Kubernetes Node Management Made Simple 陈俊(Joe),Ant Financial ## Agenda • Background and Motivation • Introduction of Operators • Node-Operator • Advanced Topic: Kube-on-Kube-Operator Master & Node Components reliably • Canary Rollout • Master & Node Component Versions Management  Worker Order Complicated architecture Work order deployment system can not meet the requirements of resource management. ## Operator 0 码力 | 18 页 | 11.70 MB | 1 年前3
Libraries: A First Step Toward Standard C++ Dependency ManagementToward Standard C++ Dependency Management ## BILL HOFFMAN & BRET BROWN ## 20 23 October 01 - 06 ## Libraries: A First Step Toward Standard C++ Dependency Management October 3, 2023 Bloomberg Engineering portable as the code they contain! ✓ Projects should be “cattle,” not “pets”! ## Why dependency management? Consensus: Managing dependencies == way too hard Q: Which of these do you find frustrating about following names: jsonlogConfig.cmake Jsonlog-config.cmake # ... CMake gives you some dependency management tips here ... Aside: Coloring and bolding added for emphasis ## Motivation: What would we design0 码力 | 82 页 | 4.21 MB | 1 年前3
Coroutine Patterns and How to Use Them: Problems and Solutions Using Coroutines in a Modern Codebaseand talking about C++ makers.f.dev@gmail.com ## Outline • Motivation • Overview • Patterns • Lifetime • Exceptions • RAII • Synchronization ## • Conclusions ## Motivation • 40 years of • Experience /8/e20839ae14710dcbb38ddda7e6a7f799/p14_1.jpg) ## Patterns • Lifetime • Exceptions • RAII • Synchronization ## Lifetime ## Lifetime • Lots of worries • Use Structured Concurrency $ ^{[1]} $ • https://ericniebler.com/2020/11/08/structured-concurrence/ ## Lifetime Member coroutines implicitly capture this ## Lifetime Let's play a game ## Lifetime struct Bar { int data = 0; Taskmul_2(Task 0 码力 | 70 页 | 1.45 MB | 1 年前3
State management - CS 591 K1: Data Stream Processing and Analytics Spring 2020# CS 591 K1: Data Stream Processing and Analytics Spring 2020 2/25: State Management Vasiliki (Vasia) Kalavri vkalavri@bu.edu ## State in dataflow computations Any non-trivial streaming computation 3cea6fb1/p4_2.jpg) What state types can you think of? • Count, sum, list, map, ... ## State management in Apache Flink All data maintained by a task and used to compute results: a local or instance state is stored, accessed, and maintained. State backends are responsible for: • local state management - checkpointing state to remote and persistent storage, e.g. a distributed filesystem or a database0 码力 | 24 页 | 914.13 KB | 2 年前3
Coroutines and Structured Concurrency in Practice} } } } ); Manual lifetime management ## 原生 原生 原生 // read length auto len = make_unique(); async_read(socket handle data... ## Coroutines may simplify things • Easier reasoning • Easier object lifetime management • Easier error propagation But we need some structure ## Structured concurrency And why program ## Detached tasks considered harmful No way to figure out task lifetime => no automatic object lifetime management // don't do this void bad(tcp::socket& s) { std::array 0 码力 | 103 页 | 1.98 MB | 1 年前3
共 1000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 100
相关搜索词
C++复杂性历史原因Lifetime Management三五零规则对象生命周期初始化存储分配析构函数非空泛初始化GPU资源管理Kubeflow分布式训练GPU监控JDOSVaultRancherKubernetesSecrets ManagementCSI DriverLifetime SafetyCrubitCore GuidelinesP2771Node OperatorCustomResourceDefinition (CRD)Node-OperatorMachine CRDdependency managementlibrariespackage managersCMakecoroutine patternssynchronizationRAIIexception handlinglifetime managementstate managementstream processingFlinkkeyed stateoperator statecoroutinesstructured concurrencycallback-basedI/O event loopobject lifetime management













