Rust programming language

Compilation Of Active Directory Logs Using Rust.

Reading Time: 4 minutes Active Directory: Active Directory (AD) is a Microsoft product that consists of several services that run on Windows Server to manage permissions and access to networked resources. It stores data as objects. An object is a single element, such as a user, group, application or device, like printer. In this blog, we will discuss the Active Directory service provided by Windows Server, its workflow and then we will Continue Reading

Processing a Series of Items with Iterators in Rust

Reading Time: 3 minutes Iterators are objects that produce sequences of values, so they can be iterated or looped over. Or, in other words, every time you ended up using a for loop in your program, you were most likely interacting with some kind of iterator. Hello, folks! your wait is over, we have come up with a new blog. In this blog, we will discuss Iterators to process of series of Continue Reading

What’s new in Rust 1.46.0 about const_fn?

Reading Time: 3 minutes Hello, folks! your wait is over, we have come up with a new blog. In this blog, we will discuss the new update about const_fn in the Rust update 1.46.0. I hope you will enjoy the blog. Improvement in Const Function The const_fn feature allows marking free functions and inherent methods as const, enabling them to be called in constants contexts, with constant arguments. Example: Output: So the Continue Reading

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

Reading Time: 5 minutes This series pertains to create a basic Operating System and this article is for creating an executable that doesn’t link the standard library so that we can run it directly on bare metal.

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

Custom-tailored Configuration for Code Quality Tools in Rust

Reading Time: 4 minutes Code quality is one of the most important aspects of programming world. As it impacts our overall software quality i.e., how safe, secure, and reliable our codebase is. Code quality is not only to perform efficiently but also to make code more readable.  Essentially, code that is considered good: