<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Programming on Pi Stack</title>
    <link>https://www.pistack.xyz/tags/programming/</link>
    <description>Recent content in Programming on Pi Stack</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Mon, 10 Aug 2026 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://www.pistack.xyz/tags/programming/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Python Datetime Libraries: Arrow vs Pendulum vs python-dateutil — Choosing the Right Time Library in 2026</title>
      <link>https://www.pistack.xyz/posts/2026-08-10-python-datetime-libraries-arrow-pendulum-dateutil/</link>
      <pubDate>Mon, 10 Aug 2026 00:00:00 +0000</pubDate>
      <guid>https://www.pistack.xyz/posts/2026-08-10-python-datetime-libraries-arrow-pendulum-dateutil/</guid>
      <description>&lt;h2 id=&#34;introduction&#34;&gt;Introduction&lt;/h2&gt;&#xA;&lt;p&gt;Working with dates and times in Python has historically been painful. The standard library&amp;rsquo;s &lt;code&gt;datetime&lt;/code&gt; module covers the basics but leaves gaping holes: timezone handling is inconsistent, date arithmetic is verbose, and string parsing requires memorizing format codes. Three libraries have emerged to fill these gaps: &lt;strong&gt;Arrow&lt;/strong&gt; (the friendly datetime replacement), &lt;strong&gt;Pendulum&lt;/strong&gt; (the precision-focused library with duration support), and &lt;strong&gt;python-dateutil&lt;/strong&gt; (the battle-tested extension to the standard library).&lt;/p&gt;</description>
    </item>
    <item>
      <title>Rust CLI Argument Parsers: Clap vs argh vs bpaf — Choosing the Right Parser for Your Rust CLI Tool</title>
      <link>https://www.pistack.xyz/posts/2026-08-10-rust-cli-parsers-clap-argh-bpaf/</link>
      <pubDate>Mon, 10 Aug 2026 00:00:00 +0000</pubDate>
      <guid>https://www.pistack.xyz/posts/2026-08-10-rust-cli-parsers-clap-argh-bpaf/</guid>
      <description>&lt;h2 id=&#34;introduction&#34;&gt;Introduction&lt;/h2&gt;&#xA;&lt;p&gt;Rust has become the de facto language for building command-line tools. Its performance, safety guarantees, and excellent cross-compilation support make it ideal for everything from simple scripts to complex system utilities. But before you can handle any actual logic, your tool needs to parse its command-line arguments. In the Rust ecosystem, three libraries dominate this space: &lt;strong&gt;Clap&lt;/strong&gt; (the feature-rich veteran), &lt;strong&gt;argh&lt;/strong&gt; (the minimalist derive-based parser from Google), and &lt;strong&gt;bpaf&lt;/strong&gt; (the combinator-based parser with applicative interfaces).&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
