JTJennet Turkkaninworkinprogress.hashnode.dev·Sep 30, 2025 · 4 min readNote #2: Coroutines, Awaitables & Tasks (Working Through Async in Python)Types of Coroutines I’m sorting out that there are three coroutine flavors in Python: Native coroutines — the async def / await style. async def fn(x: str) -> str: foo = await some_fn(x) return foo Key points: fn("bar") doesn’t sta...00
JTJennet Turkkaninworkinprogress.hashnode.dev·Sep 18, 2025 · 2 min readNote #1: Buffer compaction in HTTP parsingWhile working on the Boot.dev course about HTTP and TCP, I had to build a parser for the request line. That meant reading raw bytes from a connection and then figuring out where the request line ends. To handle this, I used a fixed-size buffer. Each ...00