Author: Pawan Bisht

OS in Rust: An executable that runs on bare metal: Part-1

Reading Time: 4 minutes This is the very first blog of the series that pertains to create a basic Operating System using Rust Programming Language.The aim of this series is to learn and understand the basics of Operating System. Through this series, you will get some ideas about the internal components of Operating System and how they interact with each other.

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