Coroutines and Games by Phil Nash and Ólafur Waage (NDC Oslo Community Tuesday)
Details
!! Register with NDC !!: https://app.checkin.no/event/57096/community-tuesday
The meetup will be in the NDC Oslo venue the evening before the NDC Oslo conference starts.
Phil Nash: C++ Coroutines From Scratch
I'll show a worked example with a "before" and "after" using C++ coroutines.
C++ 20 introduces coroutines into the language. Coroutines have the potential to greatly simplify some types of code - particularly, but not limited to, anything asynchronous in nature. But early adoption has been hindered by both the lack of library support in the standard and the inherent complexity of the feature itself (which, due to that lack of library support, you are typically more exposed to).
Now we have a bit of a “Blind men and an elephant” problem - where we’re getting disjointed glimpses of what coroutines, supposedly, are - without the big picture. I can’t claim to be able to give you a comprehensively big enough picture in a talk, but my aim is to plot a journey through it by starting with a motivating example (a typical multiple async task problem), looking at how we might approach this without coroutines, then seeing what coroutines can do for us - and finally looking at what that might look like with library support, too.
Ólafur Waage: Playing Video Games One Frame at a Time.
Sometimes games can be too hard and sometimes we want to take things to their limits. This talk will go over what it means to play video games with the assistance of tools and show a few examples of how this can be done using C++. This is an introductory talk on this topic but it will cover a few lower level systems interactions. No video game knowledge is needed.
