Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

James Powell - Are generator-coroutines really the answer? | PyData London 2024 #214

Open
xames3 opened this issue Jun 26, 2024 · 1 comment

Comments

@xames3
Copy link

xames3 commented Jun 26, 2024

Timestamps for titled video.

Contents:

00:00 Introduction
00:31 Disclaimer about the talk
00:46 What is a function?
01:13 What is a generator?
01:50 Function returning a generator
02:12 Generator Coroutine Protocol
02:58 Iterator v/s Iterable?
03:28 Traditional python coroutine
03:57 Modern python coroutine (with async def)
04:33 Yield in an async function?
04:57 Let's talk about generators
06:00 Decomposing a computation using traditional functions
07:40 Decomposing a computation using generators
08:46 Eager evaluation v/s Lazy evaluation (in-depth)
12:22 Function to Generator to Coroutine
13:17 Nature of decomposition (Homogeneity v/s Heterogeneity)
16:08 Modeling heterogeneity using Pandas with a trading example
19:18 Iteration helpers with progressive improvements
22:33 Iteration helpers with itertools
24:28 Value disintermediation and their minimizing strategies
27:14 Expanding upon Iteration helpers with more itertools
27:43 Generators in modeling State Machines
32:35 Gotchas while using a generator
34:39 Eliminating modalities using "pumping" and their caveats
37:22 Pumping Coroutine-Coroutine model?
38:25 Revisiting Value disintermediation with an example and final notes

@xames3
Copy link
Author

xames3 commented Nov 4, 2024

hello hello team, any updates on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant