Pipeline Architectures in C++: Overloaded Pipe Operator | and Its Monadic Operations
overview of what the poster reports on. Title: Pipeline architectures in C++: overloaded pipe operator | std::expected and its monadic operations Brief overview: Functional programming in C++ the overloaded pipe operator. In this poster I show how to implement a custom pipeline framework that employs std::expected, available since C++23. An overloaded custom pipe operator | will be presented of my book about C++ [1][3]. One of the topics was to describe the behavior of the overloaded pipe operator | in std::ranges. I came across Ankur's Satle lecture [4] and decided to expand on this topic0 码力 | 3 页 | 422.24 KB | 5 月前302 TiDB Operator 架构与实现 付业成
TiDB Operator: Design & Implemention Presented by Yecheng Fu (@cofyc) PingCAP.com Agenda ● TiDB Operator 简介 ● 扩展 Kubernetes 的几种方式 ● TiDB Operator 实现 TiDB Operator 是什么 PingCAP.com Cloud Native Scaling - Handle network, hardware failures, etc. - Backup/Restore/Data migration - ... TiDB Operator TiDB PingCAP.com Kubernetes Pattern - Declarative Model - 用户描述自己的期望,提交给 Kubernetes API Server implemented TiDB Operator Kubernetes Pattern - Declarative Model PingCAP.com Operator Pattern - Extending Kubernetes TiDB Operator TiDB PD API Kubernetes API PingCAP.com Operator Pattern - Custom0 码力 | 47 页 | 1.73 MB | 5 月前3Operator Pattern 用 Go 扩展 Kubernetes 的最佳实践
Operator Pattern:用 Go 扩展 K8s 的最佳实践 吴学强 ApeCloud KubeBlocks Maintainer & 研发总监 目 录 认识我们 00 什么是 Operator 01 Operator 基础模型 02 Operator 最佳实践 03 我们是谁 云猿生(ApeCloud)是一家提供数据库内核与管理平台的基 础软件开发商. KubeBlocks 从被收购到卷王(si) 回到初(qi)心(dian) KubeBlocks Maintainer & 研发总监 free6om 什么是 Operator 第一部分 Operator 前世今生 TPR Operator CRD Operator Pattern 2015.11 2016.12 2017.12 Now K8s 1.1 版本中正式推出 TPR (ThirdPartyResource),首次尝 K8s API 的扩展性问题, 但存在诸多问题,Alpha 阶段既 夭折 CoreOS 提出 Operator 概念,用 于管理和运行基于应用程序领 域的复杂有状态应用程序。 给出了用 TPR + controller- runtime 早期版本的 sample: etcd operator K8s 1.9 版本发布,CRD进入 beta 阶段并正式取代 TPR; controller-runtime0 码力 | 21 页 | 3.06 MB | 9 月前3Expressive Compile-time Parsers
Evolution API Design Metaprogramming TricksAbout the talk • Expressiveness in C++ • Parsers • Operator overloading • Domain specific languages • Open source compile-time libraries • API • Design • = {1,2,3,4}; vectorv(arr, arr + sizeof(arr) / sizeof(arr[0])); vector v = {1,2,3,4};Operator Overloading Use operators to call custom functions for specific types. std::filesystem::path p auto result = func(cats);Example – Compile Time Parsers template constexpr auto operator""_FROM() { constexpr auto parser = create_parser(); return parser(str); } /*...*/ std::vector 0 码力 | 134 页 | 1.73 MB | 5 月前3Custom Views for the Rest of Us
current_outer); [[nodiscard]] reference operator*() const; inner_iterator& operator++(); [[nodiscard]] inner_iterator operator++(int) [[nodiscard]] bool operator==(inner_iterator const& rhs) const; current_outer); [[nodiscard]] reference operator*() const; inner_iterator& operator++(); [[nodiscard]] inner_iterator operator++(int) [[nodiscard]] bool operator==(inner_iterator const& rhs) const; [[nodiscard]] reference operator*() const; 16 inner_iterator& operator++(); 17 [[nodiscard]] inner_iterator operator++(int) 18 [[nodiscard]] bool operator==(inner_iterator const& rhs)0 码力 | 187 页 | 13.25 MB | 5 月前3Python 标准库参考指南 2.7.18
254 9.8 functools —高阶函数和可调用对象上的操作 . . . . . . . . . . . . . . . . . . . . . . . . . . 267 9.9 operator —标准运算符替代函数 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 269 10 文件和目录访问 279 methods described in the 字 符串的方法 section. To output formatted strings use template strings or the % operator described in the String Formatting Operations section. In addition see the String Services section methods de- scribed in the 字符串的方法 section. To output formatted strings use template strings or the % operator described in the String Formatting Operations section. In addition see the String Services section0 码力 | 1552 页 | 7.42 MB | 9 月前3Python 标准库参考指南 2.7.18
254 9.8 functools —高阶函数和可调用对象上的操作 . . . . . . . . . . . . . . . . . . . . . . . . . . 267 9.9 operator —标准运算符替代函数 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 269 10 文件和目录访问 279 methods described in the 字 符串的方法 section. To output formatted strings use template strings or the % operator described in the String Formatting Operations section. In addition see the String Services section methods de- scribed in the 字符串的方法 section. To output formatted strings use template strings or the % operator described in the String Formatting Operations section. In addition see the String Services section0 码力 | 1552 页 | 7.42 MB | 9 月前3Python 标准库参考指南 2.7.18
254 9.8 functools —高阶函数和可调用对象上的操作 . . . . . . . . . . . . . . . . . . . . . . . . . . 267 9.9 operator —标准运算符替代函数 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 269 10 文件和目录访问 279 methods described in the 字 符串的方法 section. To output formatted strings use template strings or the % operator described in the String Formatting Operations section. In addition see the String Services section methods de- scribed in the 字符串的方法 section. To output formatted strings use template strings or the % operator described in the String Formatting Operations section. In addition see the String Services section0 码力 | 1552 页 | 7.42 MB | 9 月前3Python 标准库参考指南 3.6.15
309 10.2 functools —高阶函数和可调用对象上的操作 . . . . . . . . . . . . . . . . . . . . . . . . . . 323 10.3 operator —标准运算符替代函数 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 329 11 文件和目录访问 337 会生成虚数(实部为零的复数),你可以将其与整数或浮点数相加来得到具有实部和虚部的复数。 Python fully supports mixed arithmetic: when a binary arithmetic operator has operands of different numeric types, the operand with the “narrower”type is widened to that token_specification = [ ('NUMBER', r'\d+(\.\d*)?'), # Integer or decimal number ('ASSIGN', r':='), # Assignment operator ('END', r';'), # Statement terminator ('ID', r'[A-Za-z]+'), # Identifiers ('OP', r'[+\-*/]')0 码力 | 1886 页 | 8.95 MB | 9 月前3Python 标准库参考指南 3.6.15
309 10.2 functools —高阶函数和可调用对象上的操作 . . . . . . . . . . . . . . . . . . . . . . . . . . 323 10.3 operator —标准运算符替代函数 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 329 11 文件和目录访问 337 会生成虚数(实部为零的复数),你可以将其与整数或浮点数相加来得到具有实部和虚部的复数。 Python fully supports mixed arithmetic: when a binary arithmetic operator has operands of different numeric types, the operand with the “narrower”type is widened to that token_specification = [ ('NUMBER', r'\d+(\.\d*)?'), # Integer or decimal number ('ASSIGN', r':='), # Assignment operator ('END', r';'), # Statement terminator ('ID', r'[A-Za-z]+'), # Identifiers ('OP', r'[+\-*/]')0 码力 | 1886 页 | 8.95 MB | 9 月前3
共 318 条
- 1
- 2
- 3
- 4
- 5
- 6
- 32