<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Tasks on Nalar</title>
    <link>https://nalar.dev/tags/tasks/</link>
    <description>Recent content in Tasks on Nalar</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Wed, 09 Sep 2026 00:00:00 +0700</lastBuildDate>
    <atom:link href="https://nalar.dev/tags/tasks/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Control asyncio Task Startup with eager_start</title>
      <link>https://nalar.dev/control-asyncio-task-startup-with-eager-start/</link>
      <pubDate>Wed, 09 Sep 2026 00:00:00 +0700</pubDate>
      <guid>https://nalar.dev/control-asyncio-task-startup-with-eager-start/</guid>
      <description>&lt;p&gt;Creating an &lt;code&gt;asyncio&lt;/code&gt; task usually feels like a clean scheduling boundary: call &lt;code&gt;asyncio.create_task()&lt;/code&gt;, keep the returned task, and let the event loop run the coroutine soon.&lt;/p&gt;&#xA;&lt;p&gt;Python also supports eager task execution, where a coroutine can begin running immediately during task creation. Python 3.14 makes that choice directly available through the &lt;code&gt;eager_start&lt;/code&gt; keyword on &lt;code&gt;asyncio.create_task()&lt;/code&gt; and through task-group task creation.&lt;/p&gt;&#xA;&lt;p&gt;That can remove scheduling overhead for coroutines that often complete without blocking. It can also change program ordering in ways that matter much more than the performance gain.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
