Skip to content

Category Archives: Rust

Pre-requisites: Rust, Scalar Datatypes in Rust Rust is a multi-paradigm programming language like C++ syntax that was designed for performance and safety, especially safe concurrency… Read More
Rust is a highly performant, popular system programming language which means it is mostly used for developing low-level software like operating systems, drivers for hardware,… Read More
Segment Tree A segment tree is a data structure that can be used to efficiently store and query information about ranges in an array. It… Read More
In Rust, there are specific procedures that are needed to be adhered to before writing the tests. The steps for writing the tests are as… Read More
In Rust, the error-handling mechanism is via the use of the panic keyword. Rust handles error handling by grouping the errors into two categories –… Read More
In Rust, there is an option for building scripts where Cargo compiles a built script into an executable file, and after running the script, many… Read More
In Rust, we have a concept of associated items and associated types. Associated items use the type keyword while associated type uses type alias and… Read More
In the Rust programming language, modules are used to organize code into logical units and control their visibility (i.e., whether they can be accessed from… Read More
Rust is an extremely fast programming language that supports speed, concurrency, as well as multithreading. In Rust, we have a concept of Generic Traits where… Read More
.Rust is a memory-safe compiled programming language that delivers high-level simplicity with low-level performance. It’s a popular choice for building systems where performance is absolutely… Read More
Rust uses configurational conditional (cfg) checks to differentiate between the environment that is used to run Rust programs.  This is done by two attributes:  cfg… Read More
In Rust, Closures can be taken as input for the parameters. Closures are functions that wrap up functions for reusable purposes, which help capture variables… Read More
In Rust, we have a concept of Higher order functions that passes the function to another function once the variable is stored in another function.… Read More
In Rust, we can capture variables via Closures. Closures are anonymous functions that help us in saving variables or pass arguments to other functions. Closures… Read More
Rust is a blazing fast and memory-efficient static compiled language with a rich type system and ownership model. It can be used to power performance-critical… Read More