Author: Pawan Bisht

Rust’s Future: Internal Execution

Reading Time: 4 minutes As you all know Rust Programming has Futures which helps to make our code Asynchronous. Rust’s Futures are analogous to Promises.This article mainly pertains to the internal working of the Future and we’ll also understand the structure of the Future like how it is defined and how it will execute when it comes into the action. Future: In a Nutshell Future is trait in Rust Continue Reading

A Quick Rundown of Async/Await in Rust

Reading Time: 4 minutes As you all know the async–await syntax hits stable Rust, as part of the 1.39.0 release. So let’s leverage this stabilized feature to make our code-bases Asynchronous with Zero-cost futures. In this article, we’ll mainly look into the basics of Async/Await feature: Async/Await: Quick Intro Zero-cost futures Quick Demonstration of Asynchronous Programming Before diving into our road-map let’s understand the behavior of the Asynchronous programming. In a Continue Reading

Get the hang of Constructing a Library in Rust

Reading Time: 4 minutes According to the definitions, “A Library is a collection of precompiled, reusable programs, routines, or scripts that a programmer can call when writing code“. Libraries help a programmer not to re-implement any program or logic again. In this article, you’ll get to know how to write a Library (or you can say a Crate) in Rust Programming Language. Before proceeding with our major concept i.e, Continue Reading

Rust Traits: Deep Dive

Reading Time: 3 minutes Traits are the abstract mechanism for adding functionality to Types or it tells Rust compiler about functionality a type must provide. In a nutshell, Traits are Interfaces of other languages. In this article, I’ll talk about some deep concepts of Traits in Rust Programming. Before delving into this article please refer to this Rust Traits: Quick Introduction to understand the basics of Traits. Now, let’s Continue Reading

Zero-Cost Asynchronous Programming in Rust

Reading Time: 4 minutes This article helps you out with the concept of Asynchronous Programming in Rust. Writing Asynchronous code can greatly improve performance but the downside is they are complex. In this post, I will explain you how to use futures(Rust Library) and its methods using simple examples and will assume that readers having an idea about Rust and for those who are unfamiliar with Rust, Rust is Continue Reading

Rust Traits: Quick Introduction

Reading Time: 3 minutes Traits are the abstract mechanism for adding functionality to types or it tells Rust compiler about functionality a type must provide. Traits are a way to group methods to define a set of behaviors necessary to accomplish some purpose. In a nutshell, Traits are kind of similar to interfaces in other languages with some differences. Here, we focus on different aspects of Traits and I’ll Continue Reading

Hawk-Rust Series: Actuation of Raspberry Pi Camera

Reading Time: 2 minutes Raspberry Pi provides a set of GPIO (general purpose input/output) pins that allow you to control electronic components for physical computing and explore the Internet of Things (IoT).And the Camera Module is a great accessory for the Raspberry Pi, it allows users to take still pictures and record video in full HD. In this project, we have used Raspberry Pi and its camera to authenticate Continue Reading