Taro: Task graph-based Asynchronous Programming Using C++ Coroutine
Agenda • Understand the motivation behind Taro • Learn to use the Taro C++ programming model • Dive into the Taro’s coroutine-aware scheduling algorithm • Evaluate Taro on microbenchmarks and a real-world application • Conclusion 2Agenda • Understand the motivation behind Taro • Learn to use the Taro C++ programming model • Dive into the Taro’s coroutine-aware scheduling algorithm • Evaluate Taro on microbenchmarks What is Task Graph-based Programming System (TGPS) Code 4• TGPS encapsulates function calls and their dependencies in a top-down task graph What is Task Graph-based Programming System (TGPS) Code A0 码力 | 84 页 | 8.82 MB | 5 月前3Object Oriented Programming
Object-Oriented Programming Key Ideas Class Inheritance Polymorphism Early and Late Binding Virtuality override final Template method Destructor Interfaces Liskov substitution principle return type Duck Typing Traps Virtual in con- /destructor Slicing ShadowingObject-Oriented Programming Key Ideas Class Inheritance Polymorphism Early and Late Binding Virtuality override final outside world. Information hiding Separation from interface and implementationObject-Oriented Programming Key Ideas Class Inheritance Polymorphism Early and Late Binding Virtuality override final0 码力 | 38 页 | 752.99 KB | 5 月前3Back to Basics: Generic Programming
1 David Olsen – Generic Programming CppCon 20242 David Olsen – Generic Programming CppCon 2024 Back to Basics: Generic Programming David Olsen, Compiler Engineer, NVIDIA CppCon, 18 Sep 20243 David Olsen – Generic Programming CppCon 2024 Generic Programming4 David Olsen – Generic Programming CppCon 2024 Generic Programming5 David Olsen – Generic Programming CppCon 2024 Generic Programming Same code code works on different, unrelated types6 David Olsen – Generic Programming CppCon 2024 Generic Programming Same code works on different, unrelated types T sum(C container) { T result = 0; for (T value0 码力 | 175 页 | 1.16 MB | 5 月前3Branchless Programming in C++
Branchless Programming in C++ Fedor G Pikus Chief ScientistBranchless Computing 3 PLAN ● Efficiency and performance ● Understanding the hardware and using it efficiently – Computing resources of0 码力 | 61 页 | 9.08 MB | 5 月前3Back to Basics: Object-Oriented Programming
Andreas Fertig Write unique code! Back to Basics Object-Oriented Programming Presentation Material CppCon, Aurora CO, 2024-09-20© 2024 Andreas Fertig AndreasFertig.com All rights reserved All programs https://AndreasFertig.com post@AndreasFertig.com 5A class ■ C++ adds classes for object-oriented programming. ■ The constructors B are called when the object is cre- ated. ■ Data fields of classes should0 码力 | 20 页 | 1.04 MB | 5 月前3Back To Basics: Functional Programming in C++
What is functional programming? Jonathan Müller — @foonathan Back to Basics: Functional Programming in C++ CppCon 2024-09-19 1Imperative Programming Definition Specify instructions that manipulate state achieve a goal. Jonathan Müller — @foonathan Back to Basics: Functional Programming in C++ CppCon 2024-09-19 2Imperative Programming Definition Specify instructions that manipulate state in order to achieve goal. C and C++ Jonathan Müller — @foonathan Back to Basics: Functional Programming in C++ CppCon 2024-09-19 2Imperative Programming Definition Specify instructions that manipulate state in order to achieve0 码力 | 178 页 | 918.67 KB | 5 月前3Template-Less Meta-Programming
0 码力 | 130 页 | 5.79 MB | 5 月前3Beyond struct: Programming a Struct Replacement in C++20
John R. Bandela, MD Beyond struct: Meta- programming a struct Replacement in C++20Disclaimer This is not an official Google library These opinions are my ownStruct struct person { int id = 1; std::string0 码力 | 65 页 | 702.78 KB | 5 月前3Find Code Reviews Valuable: Try Pair Programming, You'll Love It!
0 码力 | 38 页 | 3.76 MB | 5 月前3When Lock-Free Still Isn't Enough: An Introduction to Wait-Free Programming and Concurrency Techniques
danielanderson.net3 What we’ll learn today • Very quick review of concurrency and lock-free programming • Review the “bread and butter” of lock-free design patterns • Define wait-free algorithms, understand knowledge • You know what std::atomic does and what it is used for • You’ve heard of lock-free programming and know what a compare_exchange is Daniel Anderson -- danielanderson.net4 Our motivating problem0 码力 | 33 页 | 817.96 KB | 5 月前3
共 242 条
- 1
- 2
- 3
- 4
- 5
- 6
- 25