View, browse and sort the ever-growing list of sessions by pass type, topic, format and viewing experience. Use the experience filter to view sessions and roundtables that will be available on the virtual GDC event platform. Virtual sessions will be available to watch on-demand through April 1st, 2022 at 5pm PT. All days/times are displayed in Pacific Time.
Use the Viewing Experience filter to see which sessions will be available on-site, on the virtual platform, or both:
All registered attendees will be able to build their personal schedule in the virtual GDC event platform and mobile app. Download the Informa Tech Events app to gain access to the Game Developers Conference 2022 virtually. Login with the email address you used to register.
Elliott Mahler (Senior Gameplay Programmer, Giant Squid)
Location: Room 2014, West Hall
Date: Thursday, March 24
Time: 11:30 am - 12:30 pm
Pass Type: All Access Pass, Core Pass - Get your pass now!
Topic: Programming
Format: Session
Viewing Experience: In-Person
Vault Recording: Video
Audience Level: No
Coroutines are a revolutionary language feature that can express complex gameplay logic through direct, clear functions. C# and Lua programmers have had access to coroutines for over a decade, but most C++ developers don't realize that coroutines were recently added to C++! Coroutines are now available and production-ready on all major game platforms using the C++14 language standard.
Elliott, one of the programmers behind The Pathless, shares how he wrote the entirety of The Pathless' gameplay code using C++ coroutines, and demonstrates how easily they can be integrated into existing game projects. Elliott also introduces Giant Squid's MIT-licensed library to jump-start the integration process. Discover how easy it is to unlock this futuristic new programming paradigm with a minimum of risk and effort.
Elliott explains what coroutines are, motivates their use in game programming, shows how they can be implemented in C++14 today, and demonstrates writing gameplay logic using C++ coroutines. In the process, he reveals how everyday game programmers can start implementing C++ gameplay coroutines in their own games.
Gameplay programmers of all experience levels will benefit from attending this talk. Knowledge of C++ is recommended (not required), including familiarity with templates and lambda functions. Engine programmers will also see how coroutines can be integrated into game frameworks and apply coroutines to non-gameplay systems.