Session
Implementing async with coroutines and fibers - project Loom in C#
Async has multiple problems. It requires specific return type, can switch thread any time, causes deadlocks, uses global state. Can we do better? Can we do async/await without all its mess?
In this talk we will learn how async is implemented, see what problems it creates, and explore other possible approaches. We will reimplement some of its features with monads, coroutines, and fibers to see how it could look like in an alternative world. We'll see if we can do better than the thread-pool based approach.
This is loosely related to project Loom in JVM world which explores fibers to improve threading.
Level 300.
Adam Furmanek
Software Developer, Blogger, Public Speaker, Book Writer
Kraków, Poland
Links
Please note that Sessionize is not responsible for the accuracy or validity of the data provided by speakers. If you suspect this profile to be fake or spam, please let us know.
Jump to top