Tag: rust

Understanding And Handling Rust Mutex Poisoning

Understanding and handling Rust mutex poisoning

Dev

Use mutexes in your Rust app when accessing shared resources, and handle mutex poisoning to ensure that your code is resilient and reliable.

Ikeh Akinyemi
Apr 18, 2023 ⋅ 5 min read
Open GL Basics Rust

Understanding OpenGL basics in Rust

Dev

Explore OpenGL concepts like context, the frame buffer, the shaders programming, the whole events, and the event loop.

Rosario De Chiara
Apr 17, 2023 ⋅ 6 min read
Using BufRead For Faster Rust I/O Speed

Using BufRead for faster Rust I/O speed

Dev

Optimize your code’s performance by using the BufReader class in Rust and buffering input/output.

Greg Stoll
Apr 13, 2023 ⋅ 5 min read
A Guide to Signal Handling in Rust

The guide to signal handling in Rust

Dev

In this article, we’ll discover the purpose of signals and learn about signal handling in the Rust programming language.

Eze Sunday
Apr 5, 2023 ⋅ 5 min read
Disambiguating Rust Traits: Copy, Clone, and Dynamic

Understanding Rust disambiguating traits: Copy, Clone, and Dynamic

Dev

In this article, we will delve into each trait’s specifics and use cases so that you can effectively implement them in your Rust projects.

Eze Sunday
Mar 23, 2023 ⋅ 9 min read
Using Cow In Rust For Efficient Memory Utilization

Using Cow in Rust for efficient memory utilization

Dev

Using the Cow data type in Rust can help reduce copying data unnecessarily, as well as potentially improve performance and save memory.

Yashodhan Joshi
Mar 22, 2023 ⋅ 7 min read
How to Debug Rust With VS Code

How to debug Rust with VS Code

Dev

Many developers choose to debug their code in VS Code due to the fact that it is free and feels snappy to use on most hardware.

Lewis Cianci
Mar 6, 2023 ⋅ 7 min read
Using Insta Rust Snapshot Testing

Using Insta for Rust snapshot testing

Dev

There are a lot of testing strategies for Rust, ranging from unit to integration testing. In this article, we’ll learn more about what snapshot testing is and how it can supplement your development efforts.

Agustinus Theodorus
Mar 3, 2023 ⋅ 7 min read
Linting Rust Clippy

Linting in Rust with Clippy

Dev

We investigate linting, linting levels, and categories, and demonstrate how to use Clippy to check if Rust code is idiomatic and correct.

MacBobby Chibuzor
Feb 24, 2023 ⋅ 5 min read
Building A Rust Discord Bot With Shuttle And Serenity

Building a Rust Discord bot with Shuttle and Serenity

Dev

Discord bots can save server owners and staff members a lot of time and effort while also providing a variety […]

Chigozie Oduah
Feb 21, 2023 ⋅ 6 min read
Build Polymorphic Components Rust

How to build polymorphic components in Rust

Dev

We demonstrate how to implement polymorphism in Rust using static dispatch, dynamic dispatch, and enums, and we discuss the tradeoffs of each approach.

Damilare Jolayemi
Feb 16, 2023 ⋅ 5 min read
Define Higher-Order Functions Rust

How to define higher-order functions in Rust

Dev

We demonstrate how to use higher-order functions to write Rust code that is more concise and easier to maintain in the long run.

Matteo Di Pirro
Feb 14, 2023 ⋅ 3 min read