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. Check out more of our featured speakers and talks at https://www.ndcconferences.com https://ndcporto.com
Get notified about new features and conference additions.