Skip to content

Category Archives: Rust

Rust is a general-purpose programming language. It is an extremely fast and powerful programming language. It is best known for system language. It is built… Read More
Rust is a general-purpose programming language. It is an open-source system programming language. Rust can be installed in Termux. Mainly C# programming language is used… Read More
Box allows us to store data in the heap contrary to the default scheme of Rust to store as a stack. Box is basically used… Read More
An error is basically an unexpected behavior or event that may lead a program to produce undesired output or terminate abruptly. Errors are things that… Read More
Rust programming language is known for its memory management. This article explains how Rust uses its Ownership model for better memory management. If you want… Read More
Pointers are basically variables that store the address of another variable.  While smart pointers are data types that behave like a traditional pointer with additional… Read More
Switch statement is basically nested if statement, though it does not support expression, it matches an int, string, or boolean data type variable with a… Read More
Structures are basically user-defined type mainly used for grouping different data types together. It overcomes the limitation of a traditional array that can only contain… Read More
As Rust Ownership rules say one owner at a time but there might some cases where we need to perform an action on data without… Read More
An error is basically an unexpected behavior or event that may lead a program to produce undesired output or terminate abruptly. Errors are things that… Read More
String data type makes a very important part of any programming language. Rust handles strings a bit differently from other languages.   The String data… Read More
Drop trait lets us customize what happens when a value is about to go out of scope. Drop trait is important to the smart pointer… Read More
Operators in general are used to perform operations on values and variables. These are standard symbols used for the purpose of logical and arithmetic operations.… Read More
A trait tells the Rust compiler about functionality a particular type has and can share with other types. Traits are an abstract definition of shared… Read More
Constants are the value that can not be changed after assigning them. If we created a constant, then there is no way of changing its… Read More

Start Your Coding Journey Now!