David's Blog

rust posts

All posts with the tag rust.

C++ I/O: Reading and Manipulating CSV Data .

Dec 26, 2024
In this article, we'll explore how to build a program in C++ that reads in a CSV file, performs operations on the file.

Revolutionizing Software Development.

May 21, 2023
The Future of Coding with AI Systems and Automation.

Creating a Basic Windows Application with WinAPI and Rust

Apr 22, 2023
In this article, we will explore how to create a basic Windows application using the Windows API (WinAPI) in Rust.

Interacting with Windows File System using WinAPI in Rust

Apr 24, 2023
In this article, we'll explore how to use WinAPI in Rust to interact with the Windows file system.

Interacting with the Windows Clipboard using WinAPI in Rust

Apr 24, 2023
In this article, we will learn how to interact with the Windows clipboard using the Windows API (WinAPI) in Rust.

Interacting with the Windows Registry using WinAPI in Rust

Apr 22, 2023
In this article, we'll delve into how to interact with the Windows Registry using the WinAPI crate in Rust.

Tracing in Rust A Guide to Performance Analysis and Debugging

Apr 22, 2023
In 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.

Using Coreutils in Rust

Apr 20, 2023
In 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.

Using Generator Functions (genfuncs) in Rust

Apr 20, 2023
In this article, we will explore the use of generator functions, also known as genfuncs, in Rust programming language.

Using Hexadecimal in Rust A Comprehensive Guide

Apr 22, 2023
In this article, we will explore how to work with hexadecimal values in Rust, a systems programming language that emphasizes safety, concurrency, and performance.

Using OpenGMK in Rust

Mar 21, 2024
In 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.

Using Oxipng in Rust A Guide to Optimizing PNG Images

Apr 20, 2023
In 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.

Using Resvg in Rust

Mar 21, 2024
In 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.

Using Rustfmt to Format Rust Code

Apr 20, 2023
This article will guide you through the process of installing Rustfmt, configuring it, and using it to format your Rust code.

Using Serenity in Rust A Guide to Building Discord Bots

Apr 20, 2023
In this article, we will explore how to build a simple Discord bot using Serenity and Rust.

Using WinAPI in Rust to Interact with the Windows Process System

Apr 24, 2023
By 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.

Using WinAPI in Rust to Manage Windows Services

Apr 24, 2023
In this article, we will explore how to use the Windows API (WinAPI) in Rust to interact with Windows services

Using Yaydl in Rust A Guide to Video Downloading

Apr 20, 2023
In this article, we will explore the process of using yaydl as a library in a Rust application to download videos programmatically.

Using the `cc` Crate in Rust for C Interoperability

Apr 22, 2023
In this article, we'll cover how to use the `cc` crate to compile C code and integrate it with your Rust project.

Building Web Applications with Rust using Actix Web

Apr 29, 2024
In 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.

Jumpstarting Computer Vision in Rust: A Beginner's Guide

Nov 24, 2024
Computer 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.

Building Reliable and Crash-Proof Systems with Rust Programming

Jan 10, 2024
In this article, we'll explore how Rust can help us build crash-proof and reliable systems.

Generating UUIDs with the `uuid` Crate in Rust

Nov 30, 2023
In this article, we will explore how to generate UUIDs using the `uuid` crate in Rust.

Dynamic Linking in Rust's FFI: Understanding the Essentials

Nov 24, 2023
Rust'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.

Email Slicer in Rust: A Tool for Efficient Email Parsing

Nov 24, 2023
Email 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.

Building a File Size Tool in Rust

Jun 14, 2024
In 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.

Working with Large Integers in Rust using the num-bigint Library

Sep 14, 2024
In this article, we'll explore how to use num-bigint to perform various operations on large integers.

Using Hyper in Rust for Asynchronous HTTP

Nov 29, 2023
This article will introduce Hyper, explore its core features, and demonstrate how to use it to build a simple asynchronous HTTP server.

Rust's IO: Build a program that reads in a CSV file and performs operations such as sorting and filtering on the data.

Dec 26, 2024
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..

Using the `log` Crate in Rust

Jun 2, 2023
. In Rust, one of the most popular logging libraries is the `log` crate.

Using MongoDB in Rust

Jan 24, 2024
In 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.

Using MySQL Drivers in Rust

Feb 17, 2023
In 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.

Performing Technical Analysis in Rust

Sep 20, 2023
In 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.

How to use TerminusDB in Rust

Jan 24, 2024
In this article, we will explore how to use TerminusDB in Rust, and how to integrate the two technologies to build efficient and reliable applications..

Rust's Threads: Building a Program to Calculate Pi Using Multithreading

Dec 26, 2024
In this article, we will learn how to calculate pi using Rust's threads and the Monte Carlo method.

Using the Chrono Crate in Rust for Time and Date Handling

Feb 17, 2023
In this article, we will explore the features of the Chrono crate and demonstrate how to use it for various time and date operations.

How to use Rust Collections

Dec 26, 2024
In 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.

How to use Rust's Foreign Function Interface

Dec 27, 2024
Rust'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.

How to use Rust's macros

Dec 27, 2024
In this article, we will explore Rust's macros and build a program that demonstrates their usage.

serde_json: A Rust Library for Serialization and Deserialization

Dec 27, 2024
serde_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.

Unsafe Rust: Going Below the Abstraction

Dec 27, 2024
Rust is a systems programming language that runs blazingly fast, prevents segfaults, and guarantees thread safety.

Image manipulation in Rust

Nov 24, 2023
In 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..

Building an API Server in Rust

Nov 24, 2023
Rust 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.

Rust's borrowing rules

Dec 24, 2024
In 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.

Lifetimes in Rust: Managing Borrowed Data

Dec 24, 2024
Lifetimes 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.

Image manipulation in Rust

Nov 24, 2023
In 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.

Cross-Language Interoperability: Exploring Rust's FFI, WebAssembly, and gRPC

Dec 27, 2024
In this article, we will explore three techniques for cross-language interoperability: Rust's FFI, WebAssembly, and gRPC.

C and C++ Interoperability in Rust: Exploring FFI

Dec 27, 2024
In 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.

How to use sycnronization primitives in Rust

Dec 27, 2024
In 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..

How to create a simple chat server and client using Rust's networking capabilities

Dec 27, 2024
In 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.

Building a Text Diff Tool in Rust

Mar 21, 2024
In 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.

Todo list in Rust

Mar 21, 2024
Rust 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.

Building Web Applications with Rocket for Rust

Dec 27, 2024
In 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.

Secure Hashing with SHA-2 in Rust using the `sha2` Crate

Dec 27, 2024
In 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.

Weather APIs in Rust

Dec 27, 2024
In 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.
© Copyright 2024 by FriendlyUsers Tech Blog. Built with ♥ by FriendlyUser. Last updated on 2024-12-23.