Dian-Lun Lin (https://dian-lun-lin.github.io/) is a fourth-year Ph.D. student at the Department of Electrical and Computer Engineering at the University of Utah. During Dian-Lun's recent three-year PhD studies, he focuses on parallel computing and GPU computing using C++ and CUDA. Dian-Lun was a presenter at the CppCon 2021. He also gave a talk at Nvidia Research and several conferences such as ICPP and Euro-Par. He received second place in ACM/PACT Student Research Competition (SRC 2022). He also received the champion award in a research competition (IEEE HPEC Challenge 2020).
C++20 has finally introduced coroutines, a feature that has been eagerly awaited for years, and has already been present in several popular programming languages like Go and Python. C++ coroutines provide a mechanism for writing asynchronous, non-blocking code. A coroutine is a type of function that can be paused and resumed multiple times, allowing for multiple flows of execution to exist within a single thread. This helps to simplify asynchronous programming by providing a way to write code that appears to run concurrently, without the need for multiple threads or locks. This can also lead to more readable and maintainable […]