Coroutines and Go - Understanding Generalized Subroutines
Offered By: Conf42 via YouTube
Course Description
Overview
Explore the concept of coroutines and their implementation in Go in this 36-minute conference talk from Conf42 Golang 2024. Delve into the history and evolution of coroutines, starting with subroutines and progressing to their modern applications. Learn about the characteristics and classifications of coroutines, including control transfer mechanisms, first-class vs. constrained coroutines, and stackfulness. Discover how coroutines relate to cooperative multitasking and compare them to threads and generators. Examine potential APIs for coroutines in Go and discuss possible runtime changes. Gain insights into the challenges and benefits of implementing coroutines in Go, concluding with key takeaways and references for further exploration.
Syllabus
intro
preamble
whoami
what i will be covering
what are subroutines?
eager and closed
coroutines as generalised subroutines
comparing binary trees!
it's 1958
side note - the paper that coined the term "coroutines"
problems with coroutines
characteristics
classifying coroutines
control transfer mechanism - asymmetric, symmetric
first-class versus constrained coroutines
finally, stackfulness
full coroutines
cooperative multitasking
coroutines in go
coroutines, threads and generators
api for coroutines
runtime changes?
conclusions
references
Taught by
Conf42
Related Courses
数据结构与算法 Data Structures and AlgorithmsPeking University via Coursera Data Structures and Algorithm Design Part I | 数据结构与算法设计(上)
Tsinghua University via edX Ordered Data Structures
University of Illinois at Urbana-Champaign via Coursera Data Structures and Algorithms (II)
Tsinghua University via Coursera Data Structures and Algorithms
Tsinghua University via Coursera