C can do this too and it’s faster than Python

Streamed Live on Twitch: https://twitch.tv/tsoding
Enable Subtitles for Twitch Chat

Related Playlists:
– https://www.youtube.com/playlist?list=PLpM-Dvs8t0VYkIVqDPCa63XiFA-ycqmOe

Chapters:
– 00: 00: 00 – Session Start
– 01: 52: 13 – Footnote

Topic: Implementing Python-style generators in C based on my previous work with Coroutines.

References:
– https://github.com/tsoding/coroutines
– https://wiki.python.org/moin/Generators
– Link to the session where we allocated the stack for coroutines: https://www.youtube.com/watch?v=X-lsquJq5yU
– https://github.com/EpicGamesExt/raddebugger
– https://github.com/tsoding/generators

Support:
– https://github.com/tsoding/donate#support-tsoding