<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Asyncio on AI VOID</title><link>https://ai-blog.noorshomelab.dev/tags/asyncio/</link><description>Recent content in Asyncio on AI VOID</description><generator>Hugo</generator><language>en</language><lastBuildDate>Tue, 30 Dec 2025 00:00:00 +0000</lastBuildDate><atom:link href="https://ai-blog.noorshomelab.dev/tags/asyncio/index.xml" rel="self" type="application/rss+xml"/><item><title>Asynchronous Operations for Performance</title><link>https://ai-blog.noorshomelab.dev/any-llm-guide-2025/async-operations/</link><pubDate>Tue, 30 Dec 2025 00:00:00 +0000</pubDate><guid>https://ai-blog.noorshomelab.dev/any-llm-guide-2025/async-operations/</guid><description>&lt;h2 id="introduction-to-asynchronous-operations"&gt;Introduction to Asynchronous Operations&lt;/h2&gt;
&lt;p&gt;Welcome back, future AI architect! In our journey with &lt;code&gt;any-llm&lt;/code&gt;, we&amp;rsquo;ve learned how to connect to various LLM providers and get intelligent responses. So far, our interactions have been synchronous, meaning one operation completes entirely before the next one begins. While this is straightforward, it&amp;rsquo;s not always the most efficient, especially when dealing with tasks that involve waiting.&lt;/p&gt;
&lt;p&gt;Think about ordering coffee. If you order, then wait for your coffee to be made, then order a pastry, then wait for that to be ready, that&amp;rsquo;s synchronous. What if you could order both at once, and while the coffee is brewing, the barista starts preparing your pastry? That&amp;rsquo;s closer to asynchronous!&lt;/p&gt;</description></item><item><title>Asynchronous Programming with `async`/`await`</title><link>https://ai-blog.noorshomelab.dev/python-mastery-2025/chapter-14-asynchronous-programming-async-await/</link><pubDate>Wed, 03 Dec 2025 00:00:00 +0000</pubDate><guid>https://ai-blog.noorshomelab.dev/python-mastery-2025/chapter-14-asynchronous-programming-async-await/</guid><description>&lt;h2 id="chapter-14-asynchronous-programming-with-asyncawait"&gt;Chapter 14: Asynchronous Programming with &lt;code&gt;async&lt;/code&gt;/&lt;code&gt;await&lt;/code&gt;&lt;/h2&gt;
&lt;p&gt;Welcome back, future Python master! So far, you&amp;rsquo;ve learned to write Python code that runs step-by-step, one instruction after another. This is called &lt;em&gt;synchronous&lt;/em&gt; programming, and it&amp;rsquo;s how most of your code works. But what happens when your program needs to wait for something slow, like fetching data from the internet, reading a large file, or waiting for a user input? It just&amp;hellip; waits. And while it&amp;rsquo;s waiting, it can&amp;rsquo;t do anything else!&lt;/p&gt;</description></item></channel></rss>