Rust programming language

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.

Interact with Substrate Nodes using Light Clients in Rust

Reading Time: 3 minutes Humankind is standing on the brink of another industrial revolution. Few technologies which are going to play a vital role in this are IoT, Artificial Intelligence, Blockchain and some more. This blog contemplates more on Blockchain based framework i.e. Substrate. So let’s get started. In the last 2-3 years, Rust emerged as one of the best languages for Blockchain development as Rust gives Low-Level detail Continue Reading

Linux System Call `fork()` in Rust

Reading Time: 2 minutes As we know, System calls provide an interface to the services that are available by the operating system. It is a mechanism in which a computer program requests a service from the kernel of the OS. In this blog, I will cover fork() system call. fork() is used to create a new process by duplicating the calling process. The new process is referred to as Continue Reading

Bleed Less during Runtime with Rust’s Lifetime

Reading Time: 3 minutes “Sweat more in training (Compile Time), Bleed less in Battle (Run-Time)”. I think this old warrior mantra fits best for Rust Programmers. There are few new concepts introduced by rust-like Ownership and Lifetime, which are hard to grasp even for an experienced coder in the beginning. So the question is, why new features? And how it makes Rust different from other languages. Why Rust? One Continue Reading

Diving into Rust’s Ownership

Reading Time: 5 minutes Rust is a powerful systems programming language that empowers developers to build reliable and efficient software by giving them control of low-level details such as memory usage. It is one of the most popular programming languages and StackOverflow’s most loved language for four years in a row. It is a type-safe programming language like C and C++ but different in the way that rust is Continue Reading

Incorporate Postgres with Rust

Reading Time: 4 minutes PostgreSQL is a powerful, open source object-relational database system with over 30 years of active development that has earned it a strong reputation for reliability, feature robustness, and performance. Hello, folks! your wait is over, we have come up with a new blog. In this blog, we will discuss how we can incorporate the Postgres database using Rust programming language with the help of a sample example. I Continue Reading

Prevent Breaking Code Changes in Future Releases using `non exhaustive` enums in Rust

Reading Time: 2 minutes Hello everyone, recently I have come across a feature in Rust, known as non_exhaustive. It was introduced in Rust 1.40.0 . This attribute prevents source code-breaking changes in projects downstream. enums can be non-exhaustive or exhaustive, depending upon their needs. A non-exhaustive enum indicates that this enum may get new value in the future. By adding #[non_exhaustive] attribute, we can create a non-exhaustive enum which Continue Reading

AWS Lambda with Rust

Reading Time: 4 minutes Hello, folks! your wait is over, we have come up with a new blog. In this blog, we will discuss how we can write AWS Lambda functions using Rust as a programming language with the help of a sample example. I hope you will enjoy the blog. AWS Lambda: AWS Lambda is a compute service that lets you run code without provisioning or managing servers. It executes your Continue Reading

Rust with WebAssembly: Simple explanation with a nice example

Reading Time: 2 minutes Now a days everyone is talking about WebAssembly. In this blog, I will explain how you can get started with Rust and WebAssembly fast with a simple template. But before we start, lets discuss what is webassembly, why Rust should be preferred for it. What is WebAssembly: We can think of webassembly as a type of bytecode that can be generated from any language. That Continue Reading