Python dis module
Dis Output interpretation This stackoverflow post has a great diagram: For a sample code from asyncio import sleep async def f(): await sleep(0) We have below disassembled bytecode. (1)|...
Dis Output interpretation This stackoverflow post has a great diagram: For a sample code from asyncio import sleep async def f(): await sleep(0) We have below disassembled bytecode. (1)|...
Generator Follow below peps to understand semantics of generator and async/await. Also, see https://asyncio-notes.readthedocs.io/en/latest/asyncio-history.html for the history of asyncio. Another ...
About I came across a post about defer.h on Discord today. And I just fell love in it! I was always curious how to achieve defer in C. In C++, we can use destructor. In Golang, it is provided out ...