Explore >> Select a destination


You are here

lucumr.pocoo.org
| | tenthousandmeters.com
15.2 parsecs away

Travel
| | Mark functions as async. Call them with await. All of a sudden, your program becomes asynchronous - it can do useful things while it waits for...
| | www.integralist.co.uk
11.2 parsecs away

Travel
| | In this post I'm going to be talking about what a generator is and how it compares to a coroutine, but to understand these two concepts (generators and coroutines) we'll need to take a step back and understand the underlying concept of an Iterator. We ultimately we'll be discussing... Iterators Why use Iterators? Iterator Implementation Iterator Example Generators Why use Generators? Generator Implementation Generator Example Generator Expressions Nested Generators (i.e. yield from) Coroutines Why use Co...
| | www.integralist.co.uk
9.9 parsecs away

Travel
| | This is a quick guide to Python's asyncio module and is based on Python version 3.8. Introduction Why focus on asyncio? A quick asyncio summary A quick concurrent.futures summary Green Threads? Event Loop Awaitables Coroutines Tasks Futures Running an asyncio program Running Async Code in the REPL Use another Event Loop Concurrent Functions Deprecated Functions Examples gather wait wait_for as_completed create_task Callbacks Pools Executors asyncio.Future vs concurrent.futures.Future asyncio.wrap_future ...
| | zylinski.se
83.7 parsecs away

Travel
| In my book Understanding the Odin Programming Language I wrote that "Odin incorporates some of my favorite C best practices, straight into the language". But I didn't really elaborate on the details. Let's do that here! This brings me to talking a bit about a previous job I had. Back in 2021 I worked at a place called Our Machinery. We were creating a whole game engine in plain C. We used a very comfortable and powerful way to program C.