Working with Asynchrony Generically: A Tour of C++ ExecutorsEXECUTORS PROPOSAL The vision: “An asynchronous analog of the STL” • A full suite of standard async algorithms based on real-world requirements: E.g., then, when_all, sync_wait, repeat, stop_when, timeout etc. (not all proposed yet) • A standard set of abstractions (aka, concepts) derived from the algorithms • Efficient interoperability with coroutines • An open and extensible way to specify where, how (aka, sender) • A completion handler (aka, receiver) • A small, initial set of generic async algorithms: • E.g., then, when_all, sync_wait, let_* • Utilities for integration with C++20 coroutines50 码力 | 121 页 | 7.73 MB | 6 月前3
C++20 STL Features: 1 Year of Development on GitHubin_range(T t) noexcept;11 constexpr Algorithms12 C++20 constexpr Everything • constexpr enables compile-time programming without arcane templates • Algorithms: • P0202R3 constexprAnd And exchange() (GH-425) • P0879R0 constexpr Algorithms, Part II (GH-425, BillyONeal) • P1645R1 constexpr Algorithms (GH-399, Neargye) • More: • P0415R1 constexpr Again (GH-367, Neargye) time-efficient • Sorted arrays: binary_search, lower_bound, equal_range • Now you can use constexpr algorithms • Easy: static_assert with constexpr is_sorted • string_view is also constexpr; not limited to 0 码力 | 45 页 | 702.09 KB | 6 月前3
新一代分布式高性能图数据库的构建 - 沈游人the GQL standard • GQL Specific Capabilities •2019-09 – 39075 Database Language GQL project approved - this is the start •2021-11 – CD Ballot started •2022-02 – CD Ballot ended and comment resolution0 码力 | 38 页 | 24.68 MB | 1 年前3
C++20: An (Almost) Complete Overviewrequirements Any container supporting begin()/end() is a valid range Range-based algorithms: all Standard Library algorithms accepting ranges instead of iterator pairs Projection: Transform elements0 码力 | 85 页 | 512.18 KB | 6 月前3
Learning by Contributing to Rust Compiler - 陈于康started hacking Rustc [100+ Prs] parser, diagnostics, ICE, Infra tools, code refactor, algorithms improvements Some PR stories • Rust cares about error messages • We are building a sufficiently0 码力 | 23 页 | 3.28 MB | 1 年前3
绕过conntrack,使用eBPF增强 IPVS优化K8s网络性能refer • V.S service in pure eBPF • Reuse the IPVS’s functionality and maturity • Many scheduling algorithms • Reuse IPVS timer to reclaim eBPF map • More efficient and secure • V.S Taobao IPVS SNAT patch0 码力 | 24 页 | 1.90 MB | 1 年前3
C++23: An Overview of Almost All New and Updated Featuresstd::ranges::contains_subrange(v1, v2)); // true75 Changes to Ranges Library Several folding algorithms: ranges::fold_left(), fold_left_first(), fold_right(), fold_right_last(), fold_left_with_iter()0 码力 | 105 页 | 759.96 KB | 6 月前3
共 7 条
- 1













