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
Building Your Own Programming LanguageFrontend Masters BeauĀtiful Racket
Independent Rust: A Language for the Next 40 Years
ChariotSolutions via YouTube Move Deliberately and Don't Break Anything: Lessons from Java Evolution
ChariotSolutions via YouTube Flex - Lexical Analysis
Write your own Operating System via YouTube