Latest Articles

Advanced Types in Rust

An exploration of Rust's advanced type system features, including the newtype pattern, type aliases, the never type (!), dynamically sized types (DSTs), and function pointers.

Fetching Data with Async/Await in JavaScript

A practical guide to using the Fetch API with async/await in JavaScript to retrieve data from an API and display it on a webpage, including a simple infinite scroll example.

Pattern Syntax in Rust

A detailed reference guide to the various syntaxes available for pattern matching in Rust, from literals and ranges to destructuring, guards, and `@` bindings.

Patterns and Matching in Rust

A comprehensive guide to patterns and pattern matching in Rust, covering everything from `match` statements and `if let` to destructuring, guards, and `@` bindings.

Procedural Macros in Rust

An in-depth guide to writing procedural macros in Rust, covering custom derive, attribute-like, and function-like macros using the `syn` and `quote` crates.

State Design Pattern in Rust

A guide to implementing the State design pattern in Rust, showing both a traditional OOP approach with trait objects and a more idiomatic Rust approach using enums.

Writing Unsafe Rust

An introduction to the `unsafe` keyword in Rust, what it allows you to do, and why it's necessary for certain low-level programming tasks.

Iterators in Rust

A guide to using iterators in Rust, covering the Iterator trait, consuming and producing iterators, and creating custom ones.

Object-Oriented Programming in Rust

An exploration of how Rust handles Object-Oriented Programming concepts like encapsulation, inheritance, and polymorphism using its own unique features like structs, enums, and …