TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

How python generators actually work behind the scenes

4 pointsby arunmuover 7 years ago
As a hobby project I am trying to write something like asyncio from scratch without using anything other than the facilities provided by the OS and the language. As part of it I am also going to write a series of blog posts explaining the stuff.<p>In the first part I try to go deep into understanding how generators work.<p>http:&#x2F;&#x2F;templated-thoughts.blogspot.in&#x2F;2018&#x2F;01&#x2F;designing-async-task-dispatch-library.html<p>Let me know what you guys think of it.<p>PS: I am basically a C++ guy. My code may not be in ideal pythonic way.

1 comment

brudgersover 7 years ago
clickable, <a href="http:&#x2F;&#x2F;templated-thoughts.blogspot.in&#x2F;2018&#x2F;01&#x2F;designing-async-task-dispatch-library.html" rel="nofollow">http:&#x2F;&#x2F;templated-thoughts.blogspot.in&#x2F;2018&#x2F;01&#x2F;designing-asyn...</a>