Rust

Trace caller’s source location in the stable Rust

Reading Time: < 1 minute Hello folks, In this blog, I will be introducing a feature to track source location of caller of a function.In one of the Rust projects, I came across a scenario, where I had to trace source location of caller of a function. Rust also has this feature, but it is not available for stable release. So I published a crate trace_caller and introduced trace , Continue Reading

Closer Scrutiny of Rust Collections [Part-3]

Reading Time: 4 minutes The Collections are the general-purpose programming data structures provided by Rust’s Standard library. Rust can provide many cool implementations of data structures like Vector, Linked list, Hash map, HashSet, and BTreeSet, etc. Hello, folks!  your wait is over, here is the third blog of Closer Scrutiny of Rust Collections. I hope you have learned a lot from the first and second blog. It’s better to go with the previous blogs first to Continue Reading

Procespy: Process Monitoring tool in Rust

Reading Time: 3 minutes Procespy is a process Monitoring tool for Linux distributions, it helps the user to keep track of the running services in the system with their memory utilisation.This tool will allow the user to set the threshold for a particular service in respect of memory utilisation. If any service will cross its threshold value then the process will terminate by providing a popup with a message Continue Reading

Custom Implementation of Blockchain In Rust(Part 1)

Reading Time: 3 minutes Hello folks, in this blog, we will be learning how to create our own Blockchain, which is a technology behind Bitcoin. Blockchain technology has been called the greatest innovation since the internet. A Blockchain is a chain of blocks which contain information. A block contains the following:-1) Transaction Data:- This contains information about the Sender, Receiver, number of bitcoins to be transferred. 2) PreviousHash:- Hash Continue Reading

Closer Scrutiny of Rust Collections [Part-2]

Reading Time: 4 minutes The Collections are the general-purpose programming data structures provided by Rust’s Standard library. Rust can provide many cool implementations of data structures like Vector, Linked list, Hash map, BTreeMap, etc. Hello, folks!  your wait is over, here is the second blog of Closer Scrutiny of Rust Collections. I hope you have learned a lot from the first part. It’s better to go with the previous blog first to gain more understanding about Collections.We Continue Reading

Closer Scrutiny of Rust Collections

Reading Time: 3 minutes The Collections are the general-purpose programming data structures provided by Rust’s Standard library. In Rust, the collections can make possible for two libraries to communicate without significant data conversion. Rust can provide many cool implementations of data structures like Vector, Linked list, Hash map, etc. Rust Collections can save the data into the Heap, collections decide the size on run-time instead of compile time. This Continue Reading

Generalising Types and Functionalities using Generics in Rust

Reading Time: 4 minutes Generics is the way by which we can generalising types and functionalities of the function, structure, etc. Sometimes, we face a problem in which we want to perform the same operation by different types, that time we can implement the same function twice for both types. It can add redundancy to our code. By the use of Generics, we can remove that redundancy.

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