Back To Basics: Functional Programming in C++Müller — @foonathan Back to Basics: Functional Programming in C++ CppCon 2024-09-19 74Actions for multi-threading void do_something(std::execution::scheduler auto sched) { auto a = std::execution::schedule(sched) 77That seemed repetitive A range contains zero or more values stdv::transform changes those values stdv::transform_join changes those values using a function that returns a range stdv::join flattens nested 78That seemed repetitive A range contains zero or more values stdv::transform changes those values stdv::transform_join changes those values using a function that returns a range stdv::join flattens nested0 码力 | 178 页 | 918.67 KB | 6 月前3
Tracy: A Profiler You Don't Want to Missdays ago!)Tracing program execution logging function calls (+ args & return) system events state changes debug/warning/error messages mostly for debugging: not necessarily concerned with performance frequencyTracing program execution logging function calls (+ args & return) system events state changes debug/warning/error messages mostly for debugging: not necessarily concerned with performance network (socket) message queues68 Study Cases • [Photoshop] Win32 API Detours • [Photoshop] Multi-threading opportunity • [Photoshop] Eliminating redundant computations • [Photoshop] Addressing lock0 码力 | 84 页 | 8.70 MB | 6 月前3
Tracy: A Profiler You Don't Want to Missdays ago!)Tracing program execution logging function calls (+ args & return) system events state changes debug/warning/error messages mostly for debugging: not necessarily concerned with performance frequencyTracing program execution logging function calls (+ args & return) system events state changes debug/warning/error messages mostly for debugging: not necessarily concerned with performance stack frames More Limitations78 Study Cases • [Photoshop] Win32 API Detours • [Photoshop] Multi-threading opportunity • [Photoshop] Eliminating redundant computations • [Photoshop] Addressing lock0 码力 | 85 页 | 6.51 MB | 6 月前3
BehaviorTree.CPP: Task Planning for Robots and Virtual Agentsexecuting an arm motion, compute the next motion to be executed start endAbout Multi-threading I can't do multi-threading for you! It is YOUR responsibility, when implementing an Async Node, to do it0 码力 | 59 页 | 7.97 MB | 6 月前3
failing successfullymessage_reader() noexcept; const fix_message_reader& message_reader() const noexcept; // ... }; 29 Multi-Threading Reporting errors via returned value supposes there’s a returned value Non-trivial programs tend0 码力 | 44 页 | 625.44 KB | 6 月前3
C++23: An Overview of Almost All New and Updated Features_and_overwrite() Monadic Operations for std::optional Stacktrace Library Changes to Ranges Library Changes to Views Library std::expected std::move_only_function<> std::spanstream _and_overwrite() Monadic Operations for std::optional Stacktrace Library Changes to Ranges Library Changes to Views Library std::expected std::move_only_function<> std::spanstream _and_overwrite() Monadic Operations for std::optional Stacktrace Library Changes to Ranges Library Changes to Views Library std::expected std::move_only_function<> std::spanstream0 码力 | 105 页 | 759.96 KB | 6 月前3
Conan 1.56 Documentation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 2.3 General changes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 3 Training by thousands of companies, and consequently, it has a commitment to stability, with no breaking changes across all Conan 1.X versions. CONTENTS 1 Conan Documentation, Release 1.56.0 2 CONTENTS CHAPTER are no “compatible” commands introduced in Conan 1.X. We will review the more relevant changes. • General changes not related to the recipes nor the Conan commands, “build profiles”, lowercase references0 码力 | 963 页 | 7.67 MB | 1 年前3
Conan 1.54 Documentation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 2.3 General changes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 3 Training by thousands of companies, and consequently, it has a commitment to stability, with no breaking changes across all Conan 1.X versions. CONTENTS 1 Conan Documentation, Release 1.54.0 2 CONTENTS CHAPTER are no “compatible” commands introduced in Conan 1.X. We will review the more relevant changes. • General changes not related to the recipes nor the Conan commands, “build profiles”, lowercase references0 码力 | 953 页 | 7.65 MB | 1 年前3
Conan 1.55 Documentation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 2.3 General changes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 3 Training by thousands of companies, and consequently, it has a commitment to stability, with no breaking changes across all Conan 1.X versions. CONTENTS 1 Conan Documentation, Release 1.55.0 2 CONTENTS CHAPTER are no “compatible” commands introduced in Conan 1.X. We will review the more relevant changes. • General changes not related to the recipes nor the Conan commands, “build profiles”, lowercase references0 码力 | 963 页 | 7.67 MB | 1 年前3
Conan 1.53 Documentation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 2.3 General changes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 3 Training by thousands of companies, and consequently, it has a commitment to stability, with no breaking changes across all Conan 1.X versions. CONTENTS 1 Conan Documentation, Release 1.53.0 2 CONTENTS CHAPTER are no “compatible” commands introduced in Conan 1.X. We will review the more relevant changes. • General changes not related to the recipes nor the Conan commands, “build profiles”, lowercase references0 码力 | 953 页 | 7.64 MB | 1 年前3
共 151 条
- 1
- 2
- 3
- 4
- 5
- 6
- 16













