<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Rust on Alejandro Flores</title><link>https://afr-dt.github.io/en/tags/rust/</link><description>Recent content in Rust on Alejandro Flores</description><generator>Hugo</generator><language>en</language><lastBuildDate>Tue, 04 Nov 2025 09:00:00 -0600</lastBuildDate><atom:link href="https://afr-dt.github.io/en/tags/rust/index.xml" rel="self" type="application/rss+xml"/><item><title>🚀 UV: The New Standard for Python</title><link>https://afr-dt.github.io/en/posts/uv-python/</link><pubDate>Tue, 04 Nov 2025 09:00:00 -0600</pubDate><guid>https://afr-dt.github.io/en/posts/uv-python/</guid><description>&lt;h2 id="-what-is-uv">
 🧩 What is UV?
 &lt;a class="heading-link" href="#-what-is-uv">
 &lt;i class="fa-solid fa-link" aria-hidden="true" title="Link to heading">&lt;/i>
 &lt;span class="sr-only">Link to heading&lt;/span>
 &lt;/a>
&lt;/h2>
&lt;p>&lt;a href="https://astral.sh/uv" class="external-link" target="_blank" rel="noopener">&lt;code>uv&lt;/code>&lt;/a> is a modern tool created by &lt;strong>Astral&lt;/strong> (the creators of &lt;code>ruff&lt;/code> 🦀) designed to be the only manager you need in the Python ecosystem. Written in &lt;strong>Rust&lt;/strong>, it is 10x to 100x faster than traditional tools.&lt;/p>
&lt;h3 id="-why-is-it-so-fast">
 ⚡ Why is it so fast?
 &lt;a class="heading-link" href="#-why-is-it-so-fast">
 &lt;i class="fa-solid fa-link" aria-hidden="true" title="Link to heading">&lt;/i>
 &lt;span class="sr-only">Link to heading&lt;/span>
 &lt;/a>
&lt;/h3>
&lt;ul>
&lt;li>&lt;strong>Global Cache:&lt;/strong> It doesn&amp;rsquo;t redownload what you already have.&lt;/li>
&lt;li>&lt;strong>Hardlinks:&lt;/strong> It uses physical links to avoid duplicating files on your disk.&lt;/li>
&lt;li>&lt;strong>Parallel Resolution:&lt;/strong> Resolves dependencies massively and efficiently.&lt;/li>
&lt;/ul>
&lt;h2 id="-installation">
 ⚙️ Installation
 &lt;a class="heading-link" href="#-installation">
 &lt;i class="fa-solid fa-link" aria-hidden="true" title="Link to heading">&lt;/i>
 &lt;span class="sr-only">Link to heading&lt;/span>
 &lt;/a>
&lt;/h2>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-bash" data-lang="bash">&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># macOS &amp;amp; Linux&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>curl -LsSf https://astral.sh/uv/install.sh | sh
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># Windows&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>powershell -ExecutionPolicy ByPass -c &lt;span style="color:#e6db74">&amp;#34;irm https://astral.sh/uv/install.ps1 | iex&amp;#34;&lt;/span>
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;hr>
&lt;h2 id="-1-python-version-management">
 🐍 1. Python Version Management
 &lt;a class="heading-link" href="#-1-python-version-management">
 &lt;i class="fa-solid fa-link" aria-hidden="true" title="Link to heading">&lt;/i>
 &lt;span class="sr-only">Link to heading&lt;/span>
 &lt;/a>
&lt;/h2>
&lt;p>Forget about &lt;code>pyenv&lt;/code> or fighting with your system&amp;rsquo;s Python versions. &lt;code>uv&lt;/code> downloads and manages Python versions for you.&lt;/p></description></item></channel></rss>