<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Rust in Practice on Atharva Pandey</title><link>https://atharva.page/series/rust-in-practice/</link><description>Recent content in Rust in Practice on Atharva Pandey</description><generator>Hugo</generator><language>en-us</language><copyright>Copyright ©</copyright><lastBuildDate>Thu, 29 Feb 2024 18:30:00 +0000</lastBuildDate><atom:link href="https://atharva.page/series/rust-in-practice/index.xml" rel="self" type="application/rss+xml"/><item><title>Mastering Rust: The Complete Guide to Pattern Matching</title><link>https://atharva.page/post/rust/mastering-rust-the-complete-guide-to-pattern-matching/</link><pubDate>Thu, 29 Feb 2024 18:30:00 +0000</pubDate><guid>https://atharva.page/post/rust/mastering-rust-the-complete-guide-to-pattern-matching/</guid><description>&lt;p&gt;&lt;img src="https://atharva.page/images/Default_create_rust_programming_ferris_the_crab_logo_4.webp" alt=""&gt;&lt;br&gt;
Looking to take your Rust skills to the next level? Master the art of pattern matching, one of Rust&amp;rsquo;s most versatile features! This beginner-friendly guide dives into the key concepts with clear examples, helping you:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Understand the basics of advanced pattern matching in Rust.&lt;/li&gt;
&lt;li&gt;Apply these techniques to write cleaner, more efficient code.&lt;/li&gt;
&lt;li&gt;Avoid common pitfalls and best practices to follow.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="1-basics-of-pattern-matching"&gt;1. Basics of Pattern Matching&lt;/h2&gt;
&lt;h4 id="11-what-is-pattern-matching"&gt;1.1 What is Pattern Matching?&lt;/h4&gt;
&lt;p&gt;Imagine a toolbox filled with different tools for different tasks. Pattern matching works similarly, allowing you to compare your data against various &amp;ldquo;patterns&amp;rdquo; and execute the exact code you need based on the match. This brings more flexibility and security compared to traditional &amp;ldquo;if-else&amp;rdquo; statements in other languages.&lt;br&gt;
&lt;br&gt;
&lt;strong&gt;Getting Started with match:&lt;/strong&gt;&lt;/p&gt;</description></item><item><title>From Novice to Master: 10 Must-Try Low-Level Programming Projects in Rust</title><link>https://atharva.page/post/rust/from-novice-to-master-10-must-try-low-level-programming-projects-in-rust/</link><pubDate>Wed, 28 Feb 2024 18:30:00 +0000</pubDate><guid>https://atharva.page/post/rust/from-novice-to-master-10-must-try-low-level-programming-projects-in-rust/</guid><description>&lt;hr&gt;
&lt;h3&gt;&lt;img src="https://atharva.page/images/crab.webp" alt=""&gt;&lt;/h3&gt;
&lt;p&gt;Hey there! If you’ve been following along, you know we’ve been deep-diving into Rust, exploring its nooks and crannies. This time around, I’m switching gears to something more hands-on. I want to walk you through a curated list of projects that have not only sharpened my skills but promise to elevate yours from beginner to pro.&lt;/p&gt;
&lt;h3 id="1-building-a-guessing-game-with-atwist"&gt;1. Building a Guessing Game with a Twist&lt;/h3&gt;
&lt;p&gt;Alright, let&amp;rsquo;s dive into something that&amp;rsquo;s simple at first glance but has layers to peel back—a guessing game, but not just any guessing game. We&amp;rsquo;re adding a twist to make it more engaging and a tad more complex, perfect for getting your feet wet with Rust&amp;rsquo;s more nuanced features.&lt;/p&gt;</description></item><item><title>Mastering Rust Lifetimes: The Comprehensive Guide</title><link>https://atharva.page/post/rust/mastering-rust-lifetimes-the-comprehensive-guide/</link><pubDate>Fri, 23 Feb 2024 18:30:00 +0000</pubDate><guid>https://atharva.page/post/rust/mastering-rust-lifetimes-the-comprehensive-guide/</guid><description>&lt;h1&gt;Mastering Rust Lifetimes: The Comprehensive Guide&lt;br&gt;
&lt;img src="https://atharva.page/images/rust-lifetime.webp" alt=""&gt;&lt;/h1&gt;
&lt;p&gt;Understanding lifetimes in Rust is crucial for any Rustacean aiming to write safe and efficient code. Lifetimes are Rust&amp;rsquo;s unique approach to managing memory without a garbage collector, ensuring memory safety and eliminating data races. This guide will take you from the basics to more nuanced aspects of lifetimes, with plenty of examples to solidify your understanding.&lt;/p&gt;
&lt;h2 id="part-1-the-foundations-of-lifetimes"&gt;Part 1: The Foundations of Lifetimes&lt;/h2&gt;
&lt;h3 id="what-are-lifetimes"&gt;What Are Lifetimes?&lt;/h3&gt;
&lt;p&gt;In Rust, every reference has a lifetime, which is the scope for which that reference is valid. Lifetimes ensure that references do not outlive the data they refer to, preventing dangling references and ensuring data race freedom.&lt;/p&gt;</description></item><item><title>Rust Ultimate: The Ultimate Rust Cheatsheet You'll Ever Need</title><link>https://atharva.page/post/rust/rust-ultimate-the-ultimate-rust-cheatsheet-youll-ever-need/</link><pubDate>Tue, 20 Feb 2024 18:30:00 +0000</pubDate><guid>https://atharva.page/post/rust/rust-ultimate-the-ultimate-rust-cheatsheet-youll-ever-need/</guid><description>&lt;p&gt;&lt;img src="https://atharva.page/images/cheatsheet.webp" alt=""&gt;&lt;/p&gt;
&lt;p&gt;&lt;br&gt;
Whether you&amp;rsquo;re a seasoned developer juggling multiple programming languages or a newcomer to Rust, it&amp;rsquo;s not uncommon to hit a roadblock trying to recall specific syntax or optimize your code with Rust&amp;rsquo;s powerful features. This comprehensive Rust cheatsheet is designed to be your go-to reference, enabling you to harness Rust&amp;rsquo;s capabilities fully without getting slowed down by syntax uncertainties.&lt;/p&gt;
&lt;h2 id="vector--linkedlist-operations"&gt;Vector &amp;amp; LinkedList Operations&lt;/h2&gt;
&lt;p&gt;Rust&amp;rsquo;s Vec&amp;lt;T&amp;gt; and LinkedList&amp;lt;T&amp;gt; are versatile for handling collections. Here&amp;rsquo;s how to use them effectively:&lt;/p&gt;</description></item><item><title>Rust in Finance: Building a Scalable High-Frequency Trading Platform from Scratch</title><link>https://atharva.page/post/rust/rust-in-finance-building-a-scalable-high-frequency-trading-platform-from-scratch.md/</link><pubDate>Fri, 16 Feb 2024 18:30:00 +0000</pubDate><guid>https://atharva.page/post/rust/rust-in-finance-building-a-scalable-high-frequency-trading-platform-from-scratch.md/</guid><description>&lt;p&gt;&lt;img src="https://atharva.page/images/crab-transformed.webp" alt=""&gt;&lt;/p&gt;
&lt;p&gt;As I ventured deeper into the Rust ecosystem, I set my sights on a project that would not only challenge my technical acumen but also push the boundaries of software architecture — a high-frequency trading (HFT) platform. In the high-stakes world of high-frequency trading (HFT), where milliseconds can mean millions, the quest for the ultimate trading platform is relentless. With its relentless demand for speed, low latency and reliability, served as the perfect proving ground for my exploration into Rust’s capabilities and the architectural paradigms that would best harness them.&lt;/p&gt;</description></item></channel></rss>