<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Rust on Asadbek Kurbonov</title><link>/tags/rust/</link><description>Recent content in Rust on Asadbek Kurbonov</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Wed, 08 Jul 2026 12:30:00 +0200</lastBuildDate><atom:link href="/tags/rust/index.xml" rel="self" type="application/rss+xml"/><item><title>Polars vs Pandas, PyO3 vs Cython: Rust Is Rewriting Python's Fast Path</title><link>/posts/rust-under-python/</link><pubDate>Wed, 08 Jul 2026 12:30:00 +0200</pubDate><guid>/posts/rust-under-python/</guid><description>&lt;p>If you list the tools that made Python feel fast lately, a pattern jumps out. The dataframe library everyone is switching to, &lt;a href="https://pola.rs/">Polars&lt;/a>, is written in Rust. The linter that replaced flake8, &lt;a href="https://docs.astral.sh/ruff/">Ruff&lt;/a>, is Rust. The packaging tool eating pip and virtualenv, &lt;a href="https://docs.astral.sh/uv/">uv&lt;/a>, is Rust. Pydantic v2 rewrote its core in Rust; Hugging Face&amp;rsquo;s &lt;code>tokenizers&lt;/code> is Rust; &lt;code>orjson&lt;/code> is Rust; even &lt;code>cryptography&lt;/code> moved its guts to Rust years ago.&lt;/p>
&lt;p>Python isn&amp;rsquo;t going anywhere — it&amp;rsquo;s still the interface. But the &lt;em>engine&lt;/em> underneath the performance-critical parts is quietly being rewritten in Rust. This post looks at that shift from two angles I&amp;rsquo;ve actually measured: &lt;strong>Polars vs Pandas&lt;/strong> (the library you use) and &lt;strong>PyO3 vs Cython&lt;/strong> (how you&amp;rsquo;d build such a library yourself). All numbers below I ran on one 8-core Linux x86-64 box.&lt;/p></description></item><item><title>pon: A Compiled Python Built in a Week, Measured Against Its Claims</title><link>/posts/inside-pon-compiled-python/</link><pubDate>Tue, 07 Jul 2026 20:00:00 +0200</pubDate><guid>/posts/inside-pon-compiled-python/</guid><description>&lt;p>I came across &lt;a href="https://github.com/can1357/pon">pon&lt;/a>, a project that sets out to be &amp;ldquo;the bun/v8 of Python&amp;rdquo;: a from-scratch native compiler and runtime for Python 3.14, written in Rust, with no interpreter and no bytecode. The pitch is ambitious enough to be worth taking seriously — and the repository is unusual in another way. It was built in about a week: 475 commits from a single author between June 30 and July 7, with an &lt;code>AGENTS.md&lt;/code> file and conventional-commit discipline that make it fairly clear the bulk was produced with AI coding agents.&lt;/p></description></item></channel></rss>