Skip to content

Rust

Ownership, traits, async, FFI and the crate ecosystem. 77 posts, newest first. All topics

  1. RustManaging Rust Projects and Dependencies with CargoIn this article , we'll explore the basics of using Cargo to manage Rust projects and dependencies
  2. RustRust's Concurrency and Parallelism Libraries A Guide to Writing Concurrent and Parallel CodeIn this article , we will explore Rust's concurrency and parallelism libraries and provide examples of how to use them to write concurrent and parallel code
  3. RustLeveraging Rust's Trait System for Writing Generic CodeIn this article , we'll explore how to use Rust's trait system to write clean, modular, and performant code
  4. RustUsing Rust's Data Structures for Efficient and Safe Data ManipulationIn this article , we will explore Rust's data structures and how to use them for efficient and safe data manipulation
  5. RustHow to use Rust's Foreign Function InterfaceRust's Foreign Function Interface (FFI) allows Rust code to interact with code written in other programming languages, such as C. In this article, we will explore Rust's FFI capabilities by building a program that interfaces with a C library using Rust's FFI. Specifically, we will use Rust to call a C library function that computes the sum of two integers.
  6. RustHow to use Rust's macrosIn this article, we will explore Rust's macros and build a program that demonstrates their usage.
  7. Rustserde_json: A Rust Library for Serialization and Deserializationserde_json is a Rust library that can be used to serialize and deserialize JSON data. It is a popular library that is used by many Rust projects.
  8. RustUnsafe Rust: Going Below the AbstractionRust is a systems programming language that runs blazingly fast, prevents segfaults, and guarantees thread safety.
  9. RustCross-Language Interoperability: Exploring Rust's FFI, WebAssembly, and gRPCIn this article, we will explore three techniques for cross-language interoperability: Rust's FFI, WebAssembly, and gRPC.
  10. RustC and C++ Interoperability in Rust: Exploring FFIIn this article, we will explore Rust's FFI and demonstrate how to call functions from C and C++ libraries in Rust, allowing you to leverage the power of these languages while enjoying the benefits of Rust.
  11. RustHow to use sycnronization primitives in RustIn this article, we will explore Rust's synchronization primitives and build a program that uses mutexes to synchronize access to a shared data structure between multiple threads..
  12. RustHow to create a simple chat server and client using Rust's networking capabilitiesIn this article, we will explore how to create a simple chat server and client using Rust's networking capabilities. We will use Rust's standard library to implement basic networking functionality and create a text-based interface for sending and receiving messages between clients.
  13. RustBuilding Web Applications with Rocket for RustIn this tutorial, we'll explore how to build a web application using the Rocket web framework for the Rust programming language. Rocket is a fast, type-safe, and easy-to-use framework that allows us to build web applications quickly, leveraging the power and safety of the Rust language.
  14. RustSecure Hashing with SHA-2 in Rust using the `sha2` CrateIn this technical article, we will explore how to use the `sha2` crate in Rust to compute secure hash values using the SHA-2 family of cryptographic hashing algorithms.
  15. RustWeather APIs in RustIn this article, we will explore how to create a simple command-line weather forecast application in Rust. We will use the reqwest crate for making HTTP requests and the serde crate for handling JSON data.
  16. RustC++ I/O: Reading and Manipulating CSV Data .In this article, we'll explore how to build a program in C++ that reads in a CSV file, performs operations on the file.
  17. RustRust's IO: Build a program that reads in a CSV file and performs operations such as sorting and filtering on the data.In this article, we'll explore how to build a program in Rust that reads in a CSV file, performs operations such as sorting and filtering on the data, and writes the results to a new file..
  18. RustRust's Threads: Building a Program to Calculate Pi Using MultithreadingIn this article, we will learn how to calculate pi using Rust's threads and the Monte Carlo method.
  19. RustHow to use Rust CollectionsIn this article, we will build a program that uses Rust's collections, specifically HashMap and HashSet, to perform operations such as counting the frequency of words in a text file.
  20. RustRust's borrowing rulesIn this article, we will explore Rust's borrowing rules by building a program that uses a borrowed reference to a vector of integers to determine the average value of the integers.
  21. RustLifetimes in Rust: Managing Borrowed DataLifetimes ensure that references to data remain valid as long as the data exists. This article demonstrates Rust lifetimes through an example data structure containing vectors of strings and string references.
  22. RustEfficient Memory Management with RustIn this article , we will explore Rust's memory management features and demonstrate how they can be used to optimize memory usage
  23. RustJumpstarting Computer Vision in Rust: A Beginner's GuideComputer vision is important because it allows machines to interpret and understand visual information in a way that is similar to how humans do. In this article we explore how to use OpenCV in Rust.
  24. RustUsing Rust's Benchmarking Framework for Performance TestingIn this article , we'll explore how to use Rust's benchmarking framework for performance testing
  25. RustLeveraging Rust's Type System for Safe and Efficient CodeIn this article , we will discuss how Rust's type system can be used to create safe and efficient code
  26. RustRust's Match Syntax for Pattern Matching A Comprehensive GuideIn this article , we'll dive deep into Rust's `match` syntax and explore various ways to utilize it for elegant and efficient pattern matching
  27. RustWorking with Large Integers in Rust using the num-bigint LibraryIn this article, we'll explore how to use num-bigint to perform various operations on large integers.
  28. RustBuilding and Packaging Rust Applications with Rust's Build ToolsIn this article , we will explore Rust's build tools, specifically `car, and how they can be utilized to build and package Rust applications effectively
  29. RustA Dive into Rust's String Manipulation Libraries for Text ProcessingIn this article , we will explore some of the essential string manipulation libraries in Rust, along with examples of how to use them in your projects
  30. RustIn this blog post I will show you to build a markdown viewer in Flutter.For chatgpt usage, it is easier to view the prompts in a markdown viewer as a chrome extension.
  31. RustEmbracing Unsafe Features in Rust for Low-Level CodeIn this article , we will explore Rust's `unsafe` features and how they can be used in low-level programming while still maintaining safety and correctness
  32. RustBuilding a File Size Tool in RustIn this tutorial, we will build a system tool in Rust that determines the size of files in a directory and outputs them nicely to the console. This tool will be similar to the `du` command in Linux.
  33. RustBuilding Web Applications with Rust using Actix WebIn this article, we will introduce you to building web apps with Rust and discuss topics like routing, middleware, and database access using the Actix Web framework.
  34. RustUsing the PokeAPI REST API in RustIn this article, we will explore how to interact with the PokeAPI REST API using the Rust programming language.
  35. RustExploring Rust's Iterator System An In-Depth GuideIn this article , we'll take a deep dive into the various aspects of Rust's iterator system, including creating custom iterators, working with existing iterators, and understanding their performance characteristics
  36. RustBuilding a Text Diff Tool in RustIn this tutorial, we will build a system tool in Rust that performs text diffing between two text files and outputs them nicely to the console. This tool will be similar to the `diff` command in Linux.
  37. RustTodo list in RustRust is a systems programming language that is designed for speed, safety, and concurrency. It provides low-level control over hardware resources while ensuring memory safety and preventing common programming errors.
  38. RustUsing OpenGMK in RustIn this article, we will explore how to use OpenGMK in Rust with the help of `opengmk-rs`, a Rust library that provides a convenient interface for working with OpenGMK documents.
  39. RustUsing Resvg in RustIn this article, we will explore Resvg, a pure Rust SVG rendering library, and learn how to use it effectively within a Rust project. Scalable Vector Graphics (SVG) is a widely-used XML-based vector image format for creating two-dimensional graphics with support for interactivity and animation.
  40. RustUsing MongoDB in RustIn this article, we will explore how to use MongoDB, a popular NoSQL database, in Rust, a systems programming language known for its safety and performance. We'll cover the basics of setting up a MongoDB connection, creating a collection, and performing basic CRUD operations.
  41. RustHow to use TerminusDB in RustIn this article, we will explore how to use TerminusDB in Rust, and how to integrate the two technologies to build efficient and reliable applications..
  42. RustBuilding Reliable and Crash-Proof Systems with Rust ProgrammingIn this article, we'll explore how Rust can help us build crash-proof and reliable systems.
  43. RustUsing Rust's Option and Result Types for Safer and More Expressive CodeIn this article , we will discuss how to use these types to write safer and more expressive code in Rust
  44. RustHow to use regular expressions in RustIn this article, we will explore the basics of using regular expressions in Rust, including syntax, matching, and capturing.
  45. RustUsing Rust's Profiling Tools for Performance OptimizationThis article will provide an overview of Rust's profiling tools, along with some practical examples to help you identify and eliminate performance bottlenecks in your code
  46. RustPattern Matching with Rust's Regular Expression LibrariesIn this article , we will explore Rust's regular expression libraries and their capabilities for efficient pattern matching
  47. RustLeveraging Rust's Crate Ecosystem for Third-Party LibrariesIn this article , we will explore how to find and use third-party libraries in Rust through the crate ecosystem
  48. RustGenerating UUIDs with the `uuid` Crate in RustIn this article, we will explore how to generate UUIDs using the `uuid` crate in Rust.
  49. RustUsing Hyper in Rust for Asynchronous HTTPThis article will introduce Hyper, explore its core features, and demonstrate how to use it to build a simple asynchronous HTTP server.
  50. RustDynamic Linking in Rust's FFI: Understanding the EssentialsRust's Foreign Function Interface (FFI) allows Rust code to call functions defined in other programming languages, such as C or C++. One of the key features of Rust's FFI is dynamic linking, which enables Rust to call functions from shared libraries at runtime.
  51. RustEmail Slicer in Rust: A Tool for Efficient Email ParsingEmail slicer is a tool that helps parse emails and extract important information such as the username and domain name. Rust is a popular systems programming language that is known for its performance, reliability, and safety. In this article, we will explore how to implement an email slicer tool in Rust.
  52. RustImage manipulation in RustIn this article, we will explore how to create a basic image manipulation library in Rust. We will use the image crate for handling different image formats and implement basic image operations like resizing, rotating, and adjusting brightness/contrast..
  53. RustBuilding an API Server in RustRust is a systems programming language that is known for its performance, safety, and concurrency. It's a great choice for building an API server, as it can handle a large number of requests efficiently and securely.
  54. RustImage manipulation in RustIn this article, we will explore how to create a command-line utility to batch rename files in a directory based on user-defined patterns or rules. We will use Rust's standard library and the regex crate to handle complex renaming patterns.
  55. RustUsing Rust's Error Handling Mechanisms EffectivelyIn this article , we will discuss Rust's error handling mechanisms and how to use them effectively
  56. RustPerforming Technical Analysis in RustIn this article, we will explore how to perform technical analysis in Rust. Technical analysis is a trading tool used to evaluate securities by analyzing statistical trends, such as price movements and trading volume. It is commonly used by traders to predict future price movements, making it an essential tool for trading strategies.
  57. RustUsing the `log` Crate in Rust. In Rust, one of the most popular logging libraries is the `log` crate.
  58. RustUsing WinAPI in Rust to Manage Windows ServicesIn this article, we will explore how to use the Windows API (WinAPI) in Rust to interact with Windows services
  59. RustUsing WinAPI in Rust to Interact with the Windows Process SystemBy the end of this tutorial, you will understand the basics of using WinAPI in Rust, and you will be able to create, manage, and terminate processes programmatically.
  60. RustInteracting with the Windows Clipboard using WinAPI in RustIn this article, we will learn how to interact with the Windows clipboard using the Windows API (WinAPI) in Rust.
  61. RustInteracting with Windows File System using WinAPI in RustIn this article, we'll explore how to use WinAPI in Rust to interact with the Windows file system.
  62. RustInteracting with the Windows Registry using WinAPI in RustIn this article, we'll delve into how to interact with the Windows Registry using the WinAPI crate in Rust.
  63. RustCreating a Basic Windows Application with WinAPI and RustIn this article, we will explore how to create a basic Windows application using the Windows API (WinAPI) in Rust.
  64. RustAccelerating HashMap Performance in Rust with HashbrownA technical article about Rust
  65. RustUsing the `cc` Crate in Rust for C InteroperabilityIn this article, we'll cover how to use the `cc` crate to compile C code and integrate it with your Rust project.
  66. RustUsing Hexadecimal in Rust A Comprehensive GuideIn this article, we will explore how to work with hexadecimal values in Rust, a systems programming language that emphasizes safety, concurrency, and performance.
  67. RustTracing in Rust A Guide to Performance Analysis and DebuggingIn this article, we will explore tracing in Rust, discussing its benefits, how to integrate it into your projects, and how to analyze trace data effectively.
  68. RustUsing `rustc-hash` in Rust A Guide to Faster and Safer HashingThis article will discuss the benefits of using `rustc-hash` and provide a tutorial on how to use it in your Rust projects.
  69. RustUsing Generator Functions (genfuncs) in RustIn this article, we will explore the use of generator functions, also known as genfuncs, in Rust programming language.
  70. RustUsing Yaydl in Rust A Guide to Video DownloadingIn this article, we will explore the process of using yaydl as a library in a Rust application to download videos programmatically.
  71. RustUsing Rustfmt to Format Rust CodeThis article will guide you through the process of installing Rustfmt, configuring it, and using it to format your Rust code.
  72. RustUsing Serenity in Rust A Guide to Building Discord BotsIn this article, we will explore how to build a simple Discord bot using Serenity and Rust.
  73. RustUsing Coreutils in RustIn this article, we will explore how to create coreutils in Rust, focusing on a few examples to demonstrate the power and flexibility of the language.
  74. RustUsing Rustls A Modern TLS Library for RustIn this article, we will discuss how to use Rustls in Rust projects.
  75. RustUsing Oxipng in Rust A Guide to Optimizing PNG ImagesIn this article, we will explore how to use Oxipng, a Rust-based PNG optimizer, to optimize PNG images in your Rust applications for better performance.
  76. RustUsing MySQL Drivers in RustIn this article, we will explore how to use MySQL drivers in Rust, a systems programming language with a strong focus on safety, concurrency, and performance. Rust has gained significant popularity in recent years due to its unique features and has become the go-to language for many developers.
  77. RustUsing the Chrono Crate in Rust for Time and Date HandlingIn this article, we will explore the features of the Chrono crate and demonstrate how to use it for various time and date operations.

© 2026 David Li · Home · Blog · RSS ·Classic site · Built with Astro, Starlight and three.js