Asynchronous programming in .NET
Asynchronous programming in .NET by Gerardo Lijs Twitter @GerardoLijs C# MeetUp Barcelona April 2019 Content What is Asynchronous Programming CPU-bound vs IO-bound Obsolete patterns Tasks and general you will not need other methods of TaskFactory class @GerardoLijs Synchronous method Asynchronous method IO-bound operations • Hard drive • Network • Database • API calls • Hardware read/write the time you will need asynchronous to deal with IO-bound operations and the times you will use CPU-bound operations you will probably use a library that provides asynchronous methods for you to interact0 码力 | 29 页 | 942.73 KB | 1 年前3Taro: 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 月前3Computer Programming with the Nim Programming Language
Computer Programming with the Nim Programming Language A Gentle Introduction (C) Dr. Stefan Salewski 2020, 2021, 2022, 2023, 2024 Table of Contents About this book . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 What is computer programming? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 What is a programming language? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .0 码力 | 512 页 | 3.54 MB | 1 年前3Computer Programming with the Nim Programming Language
Computer Programming with the Nim Programming Language A Gentle Introduction (C) Dr. Stefan Salewski 2020, 2021, 2022, 2023, 2024 Table of Contents About this book . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 What is computer programming?. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 What is a programming language? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .0 码力 | 508 页 | 3.50 MB | 1 年前3Computer Programming with the Nim Programming Language
Computer Programming with the Nim Programming Language A Gentle Introduction (C) Dr. Stefan Salewski 2020, 2021, 2022, 2023, 2024 Table of Contents About this book . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 What is computer programming? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 What is a programming language? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .0 码力 | 512 页 | 3.53 MB | 1 年前3Computer Programming with the Nim Programming Language
Computer Programming with the Nim Programming Language A Gentle Introduction (C) Dr. Stefan Salewski 2020, 2021, 2022, 2023, 2024 Table of Contents About this book . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 What is computer programming?. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 What is a programming language? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .0 码力 | 508 页 | 3.54 MB | 1 年前3Computer Programming with the Nim Programming Language
Computer Programming with the Nim Programming Language A Gentle Introduction (C) Dr. Stefan Salewski 2020, 2021, 2022, 2023, 2024 Table of Contents About this book . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 What is computer programming?. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 What is a programming language? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .0 码力 | 508 页 | 3.50 MB | 1 年前3Computer Programming with the Nim Programming Language
Computer Programming with the Nim Programming Language A Gentle Introduction (C) Dr. Stefan Salewski 2020, 2021, 2022, 2023, 2024 Table of Contents About this book . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 What is computer programming?. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 What is a programming language? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .0 码力 | 508 页 | 3.52 MB | 1 年前3Computer Programming with the Nim Programming Language
Computer Programming with the Nim Programming Language A Gentle Introduction (C) Dr. Stefan Salewski 2020, 2021, 2022, 2023, 2024 Table of Contents About this book . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 What is computer programming?. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 What is a programming language? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .0 码力 | 508 页 | 3.53 MB | 1 年前3Computer Programming with the Nim Programming Language
Computer Programming with the Nim Programming Language A Gentle Introduction (C) Dr. Stefan Salewski 2020, 2021, 2022, 2023, 2024 Table of Contents About this book . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 What is computer programming? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 What is a programming language? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .0 码力 | 512 页 | 3.50 MB | 1 年前3
共 1000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 100