Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

There Is a Better Future

ACCU Conference via YouTube

Overview

Explore a comprehensive conference talk that delves into the limitations of std::future and introduces stlab::future as a superior alternative. Discover how stlab::future, designed by Sean Parent and Felix Petriconi, addresses existing issues and offers advanced features beyond futures and continuations, including support for modeling graphs of single-threaded tasks. Learn about Communicating Sequential Processes (CSP) channels provided by the stlab library, which enable the creation of parallel-running graphs with n:m input/output tasks. Gain insights into the backstory of futures, their capabilities, and important concepts such as regular types, joins, tasks, error handling, contagion, reduction, and error recovery. While a basic understanding of threads, mutex, and locks is assumed, the talk is accessible to those without extensive functional programming knowledge.

Syllabus

Intro
Backstory
What is a future
Short overview of futures
C11 futures
Regular type
Join
Title
Capabilities
Task
Error Handling
Contagion
Reduction
Error Recovery
Joins

Taught by

ACCU Conference

Reviews

Start your review of There Is a Better Future

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.