Welcome to RustDaily
Exploring technology, design, and personal growth through my experiences and insights. Join me on this journey of discovery.
Mon Jan 11 2021 · 5 min read
Rust Programming: The Ultimate Guide (2023)
I’ll programmatically introduce you to Rust Programming Language by creating a real-world project to enable you to learn Rust in a practical approach.
Read moreMon Sep 25 2023 · 5 min read
Rust for Backend Development
This comprehensive guide will explore why Rust is an excellent choice for backend development, its unique features, libraries, and tools, and how to get started with Rust for building robust and secure backend systems.
Read moreSat Dec 02 2023 · 5 min read
Actix Web: The Ultimate Guide (2023)
This is the most comprehensive tutorial on the Actix Web framework online.
In this Actix Web tutorial, you will learn Actix Web from scratch to an advanced level.
You will learn how to build and deploy your first Actix Web app.
Read moreSun Dec 17 2023 · 5 min read
Rocket: The Ultimate Guide (2023)
This is the most comprehensive tutorial on the Rocket framework online.
In this Rocket tutorial, you will learn Rocket from scratch to an advanced level.
You will learn how to build and deploy your first Rocket app.
Read moreSun Dec 17 2023 · 5 min read
Axum Framework: The Ultimate Guide (2023)
This is the most comprehensive tutorial on the Axum framework online.
This article will explore Rust's Axum framework, a powerful and efficient tool for building web applications.
We'll dive into the basics of Axum, its key features, and how to get started with backend web development using this framework.
Read moreThu Jan 16 2025 · 5 min read
#[cfg] Conditional Compilation in Rust
Well if you are wondering how I can target each operating system, sit back as I explain the wonders of conditional compilation and how it is done in Rust.
Read moreThu Jan 30 2025 · 5 min read
When to use Arrays and Vectors in Rust — Array[] vs Vectors<>
This article is not about Data Structures in general so I won’t go into details, but all you have to know is Dynamic arrays are simply static arrays with a bunch of wrappers to handle fluidity, in rust this wrapper is called a Vector.
Read moreFri Feb 21 2025 · 5 min read
Asynchronous Recursion In rust
However, unlike in languages like Python or JavaScript, building recursive functions can be more challenging due to Rust’s strict memory safety guarantees. This is even more apparent when trying to make recursion asynchronous.
Read moreFri Feb 21 2025 · 5 min read
Building a Simple RAG System Application with Rust
In this tutorial, we will be building a simple Chatbot to query, your documents on your local machine, using GEMINI for embeddings. Tauri for app development and Rig as our SDK for Gemini.
Read moreSat Feb 22 2025 · 5 min read
3 Powerful Features in Rust's Reqwest Library
This crate is widely used to make HTTP requests in Rust, and in this article we will discuss three impressive additions in this crate, namely: JSON handling, multipart forms, and streaming capabilities
Read moreWed Mar 12 2025 · 5 min read
Are async blocks dead? Introducing async closures (rust 1.85)
We just saw the official release of Rust's 1.85 version, and a lot of wow changes came with it, one of them being async closures. This new feature has caused a lively debate in the Rust community: Are async blocks, a staple of Rust’s async ecosystem, now obsolete? Are they useless?
Read moreWed Apr 09 2025 · 5 min read
Building a Validator System in Rust
In this article, we'll explore how to build a type-safe and flexible validator system in Rust, taking cues from DRF's elegant design. We'll start with a basic structure and progressively enhance it to create a more practical and feature-rich solution.
Read moreThu Apr 24 2025 · 5 min read
Understanding From and Into Traits in Rust
If you have worked with Rust for any amount of time, you've encountered situations where you need to transform one type into another. This is where Rust's From
and Into
traits come in — they're some of the most elegant parts of Rust's type system.
Sun Apr 20 2025 · 5 min read
Setting up a Rust Development Environment
To compile Rust code, you must have the rustc compiler, Also, this is not C where you build all your tooling yourself; we have rustup and cargo, even clippy.
Read moreTue Apr 22 2025 · 5 min read
Understanding Lifetime Elision in Rust
This topic builds directly on the concept of lifetimes, so if you're not familiar with them, it’s worth reviewing the fundamentals before diving deeper.
Read moreSun Apr 20 2025 · 5 min read
Why Rust is the most Readable Language.
Ever tried contributing to an open-source project or even worked on a large code base with neck-breaking documentation? If you have done any of these, you would at least know the benefits of a readable language.
Read moreWed Apr 30 2025 · 5 min read
Top 5 Rust Frameworks (2025)
Rust has a growing framework ecosystem that makes it easier to build web applications, APIs, and backend systems efficiently. This article will explore the top 5 Rust frameworks to learn in 2025 based on popularity, community support, GitHub stars, and real-world usage.
Read moreFri May 09 2025 · 5 min read
Rust Error Handling: 80 / 20 Guide
Rust is known for safety, performance, and a robust error-handling system. It's one of Rust's greatest strengths, even though it might seem challenging at first.
Read moreTue May 13 2025 · 5 min read
How to use the matches! Macro Pattern Matching
Using this macro, we can perform boolean checks to see if a value conforms to a given pattern. Despite the versatility of the main match
expression, sometimes we simply need a straightforward true/false result, and matches!
provides exactly that.
Tue May 13 2025 · 5 min read
How to use the Default Trait in Rust
When working with structs or enums in Rust, we often need a way to create a "standard" or "initial" instance without specifying all the fields every time. Manually setting each field can be repetitive, especially for complex types. How can we create a sensible default instance of a type conveniently?
Read moreFri May 16 2025 · 5 min read
Rust Send and Sync in Simple terms
If you have ever come across this type of error and you are wondering what Send
and Sync
are, you are at the right place. In this article, we will explain what Send
and Sync
are in simple terms.
Sun May 18 2025 · 5 min read
Understanding the Cow<T>: Copy on Write
In this article, we'll walk through how Cow<T>
works, how to use it in your structs and functions, the benefits and trade-offs of using it, and a few common pitfalls to avoid—so you can write clean, efficient Rust code without over-engineering your ownership logic.
Sat May 31 2025 · 5 min read
Sized & ?Sized: A beginners guide
Understanding Sized
unlocks deeper comprehension of why Rust behaves the way it does with generics, function parameters, and memory management. Most importantly, it explains the mysterious ?Sized
syntax you've probably encountered in advanced Rust code.
Mon Jun 02 2025 · 5 min read
How Rust Knows When You're Not Using a Variable: The _ Prefix Trick
In Rust, aside from variables and struct fields, you can also bind memory to patterns. Some of these patterns are used by the compiler to signal certain conditions. This is the point of this article: how does the Rust compiler know you'll use a variable?
Read moreWed Jun 04 2025 · 5 min read
Understanding the as Keyword in Rust: Type Casting, Renaming, and Trait Disambiguation
The as
keyword in Rust serves three critical purposes that every developer should master. Understanding these use cases will significantly improve your code clarity and prevent common compilation errors.
Sun Jan 19 2025 · 4 min read
Are backend developers paid more?
Let’s explore how backend developers’ salaries compare to others and what determines their earning potential.
Read more