GDC is part of the Informa Tech Division of Informa PLC

This site is operated by a business or businesses owned by Informa PLC and all copyright resides with them. Informa PLC's registered office is 5 Howick Place, London SW1P 1WG. Registered in England and Wales. Number 8860726.

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:

  • In-Person: offered on-site, not available within the virtual platform. Check the session’s listing to see if it will be recorded for GDC Vault after the conference.
  • Virtual: offered in the virtual platform at its scheduled time.
  • In-Person/Virtual: offered onsite and the recording will be available to watch-on-demand within 36 hours of the session start time on the virtual platform until April 1st at 5pm PT
  • In-Person/Virtual Livestream: offered on-site and will be livestreamed to watch on the virtual platform at its scheduled time. The recording of the video will be available to watch-on-demand within 36 hours of the session start time on the virtual platform until April 1st at 5pm PT.

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.

C++ Coroutines are NOW!

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.

Takeaway

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.

Intended Audience

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.