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 月前3Oracle VM VirtualBox 4.1.40 Programming Guide and Reference
Oracle VM VirtualBox R ⃝ Programming Guide and Reference Version 4.1.40 c⃝ 2004-2015 Oracle Corporation http://www.virtualbox.org Contents 1 Introduction 16 1.1 Modularity: the building blocks of VirtualBox 25 2.2.2 Raw web service example for Perl . . . . . . . . . . . . . . . . . . . . . 26 2.2.3 Programming considerations for the raw web service . . . . . . . . . . 27 2.3 Using COM/XPCOM directly . . control VirtualBox programmatically. We chose the name “Main API” to differentiate it from other programming interfaces of VirtualBox that may be publicly accessible. With the Main API, you can create, configure0 码力 | 306 页 | 1.92 MB | 5 月前3Oracle VM VirtualBox 5.2.40 Programming Guide and Reference
Oracle VM VirtualBox R ⃝ Programming Guide and Reference Version 5.2.40 c⃝ 2004-2020 Oracle Corporation http://www.virtualbox.org Contents 1 Introduction 21 1.1 Modularity: the building blocks of VirtualBox 30 2.2.2 Raw web service example for Perl . . . . . . . . . . . . . . . . . . . . . 31 2.2.3 Programming considerations for the raw web service . . . . . . . . . . 32 2.3 Using COM/XPCOM directly . . control VirtualBox programmatically. We chose the name “Main API” to differentiate it from other programming interfaces of VirtualBox that may be publicly accessible. With the Main API, you can create, configure0 码力 | 422 页 | 2.45 MB | 5 月前3Oracle VM VirtualBox 5.2.12 Programming Guide and Reference
Oracle VM VirtualBox R ⃝ Programming Guide and Reference Version 5.2.12 c⃝ 2004-2018 Oracle Corporation http://www.virtualbox.org Contents 1 Introduction 21 1.1 Modularity: the building blocks of VirtualBox 30 2.2.2 Raw web service example for Perl . . . . . . . . . . . . . . . . . . . . . 31 2.2.3 Programming considerations for the raw web service . . . . . . . . . . 32 2.3 Using COM/XPCOM directly . . control VirtualBox programmatically. We chose the name “Main API” to differentiate it from other programming interfaces of VirtualBox that may be publicly accessible. With the Main API, you can create, configure0 码力 | 421 页 | 2.43 MB | 5 月前3
共 195 条
- 1
- 2
- 3
- 4
- 5
- 6
- 20