<?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 Move into the Future</title><link>/series/rust/</link><description>Recent content in Rust on Move into the Future</description><generator>Hugo -- gohugo.io</generator><copyright>Copyright © 2016-2026 Jim Chng. All Rights Reserved.</copyright><lastBuildDate>Sun, 12 Jan 2025 10:00:00 +0800</lastBuildDate><atom:link href="/series/rust/index.xml" rel="self" type="application/rss+xml"/><item><title>Compile-time Hex String Validation in Rust using Const Evaluation</title><link>/blog/2025/01/compile-time-hex-string-validation-in-rust-using-const-evaluation/</link><pubDate>Sun, 12 Jan 2025 10:00:00 +0800</pubDate><guid>/blog/2025/01/compile-time-hex-string-validation-in-rust-using-const-evaluation/</guid><description>&lt;p>A deep dive into using Rust&amp;rsquo;s const evaluation features to validate hex strings at compile time, ensuring both correctness and zero runtime overhead.&lt;/p></description><enclosure url="/blog/2025/01/compile-time-hex-string-validation-in-rust-using-const-evaluation/feature-rust-compile-time-hex-str-validate.png" length="815603" type="image/png"/></item><item><title>Template Metaprogramming: A Tale of Two Languages (C++ and Rust)</title><link>/blog/2024/03/template-metaprogramming-a-tale-of-two-languages-c-and-rust/</link><pubDate>Sat, 16 Mar 2024 09:00:00 +0800</pubDate><guid>/blog/2024/03/template-metaprogramming-a-tale-of-two-languages-c-and-rust/</guid><description>I&amp;rsquo;ve been on quite the adventure lately. The transition from memory-safe languages to C++ is like going from driving an automatic car with all the safety features to suddenly piloting a manual sports car with no guardrails – exhilarating but terrifying.
My recent fascination with metaprogramming began after I wrote about Rust&amp;rsquo;s procedural macros. There&amp;rsquo;s something magical about code that writes other code, and I wanted to explore this concept in both C++ and Rust.</description><enclosure url="/blog/2024/03/template-metaprogramming-a-tale-of-two-languages-c-and-rust/feature-cpp-rust-median.png" length="504780" type="image/png"/></item><item><title>Crafting Pydantic-Compatible Custom Python Datatypes in Rust with PyO3</title><link>/blog/2023/02/crafting-pydantic-compatible-custom-python-datatypes-in-rust-with-pyo3/</link><pubDate>Tue, 28 Feb 2023 22:31:27 +0800</pubDate><guid>/blog/2023/02/crafting-pydantic-compatible-custom-python-datatypes-in-rust-with-pyo3/</guid><description>&lt;p>Rust-implemented custom python datatype that is also pydantic-compatible.&lt;/p></description><enclosure url="/blog/2023/02/crafting-pydantic-compatible-custom-python-datatypes-in-rust-with-pyo3/feature.webp" length="382164" type="image/webp"/></item></channel></rss>