Can we use Rust for Embedded Development?

Reading Time: 4 minutes Hi everyone, in the previous blog we have discussed the basics of the Embedded System using the Rust programming language. That was like the “Hello World” in the Embedded Development. We also discussed that how we can start working with the bare metal environment and we can build and run the application in such an environment. If you want to read more about it then Continue Reading

Advanced Types in Rust are quite helpful

Reading Time: 3 minutes In this blog, we will discuss the advanced types available in Rust. Creating Type Synonyms with Type Aliases Rust provides the ability to declare a type alias to give an existing type another name. For this, we use the type keyword. For example, we can create the alias Kilometers to i32 like so:  Values that have the type Kilometers will be treated the same as values of type i32: Because Kilometers and i32 are the same type, we can add Continue Reading

CRUD operations in RUST

Reading Time: 3 minutes Hello Readers! In this blog, we will discuss HTTP Methods(CRUD operations). REST APIs(Representational State Transfer Application Programming Interface) enables you to develop all kinds of web applications having all possible CRUD (create, retrieve, update, delete) operations. So let’s have a basic idea of what CRUD stands for and what all HTTP methods are used in correspondence to CRUD operations. C: It stands for Create, and Continue Reading

Updates in Rust 2021 edition

Reading Time: 2 minutes The new edition of Rust is here. The edition 2021 of Rust have many interesting changes in it. Let us have a look at some of the changes in edition 2021. Additions to the prelude The TryInto, TryFrom and FromIterator traits are now part of the prelude. This might make calls to trait methods ambiguous which could make some code fail to compile. However, adding a trait to the prelude can break Continue Reading

Getting started with the writing of Operating System || Rust

Reading Time: 6 minutes Hi everyone, in today’s blog we are going to work on the bare metal environment in Rust. We will see that how we work with the no_std and no_main Rust environments. Working with no_main and no_std is a different way of programming. In the previous blogs we have created a series to extract the readings of Gyroscope, Magnetometer, and Accelerometer all these applications basically work Continue Reading

Solana – Wallet Creation and Sending Tokens

Reading Time: 4 minutes Solana is an open-source project implementing a new, high-performance, permissionless blockchain. It is also the most performant permissionless blockchain where a network of 200 physically distinct nodes supports a throughput of more than 50,000 transactions per second. Solana has innovated a mempool-less transaction forwarding protocol. A mempool is a set of transactions that have been submitted to the network and are yet to be processed by the Continue Reading

Errors and Revert Statements in Solidity

Reading Time: 3 minutes Hello Reader! We have already read about many topics on Solidity. Here I am back with one more important topic that is “Errors and Revert Statements in Solidity”. Starting from Solidity v0.8.4, there is a convenient and gas-efficient way to explain to users why an operation failed through the use of custom errors. Errors should be used together with the revert statement. Which causes all changes in the Continue Reading

Gyroscope sensor of the stm32 board || Part 3

Reading Time: 3 minutes Hello everyone, in today’s blog we are moving further to the last part of the series of Gyroscope sensor of the stm32 board. In this blog, we are going to get the readings from the Gyroscope sensor of the stm32 board, the delay, and the core peripherals. We are then going to use them to run the mini-project to get the readings from the stm32 Continue Reading

Contracts in Ethereum using Solidity

Reading Time: 2 minutes The Contracts in the sense of Solidity is a collection of code and data. That resides at a specific address on the Ethereum blockchain. Contracts in Solidity are similar to classes in object-oriented languages. They contain persistent data in state variables, and functions that can modify these variables. Creating Contracts Contracts can be create from outside via Ethereum transactions or from within Solidity contracts. Lets Continue Reading

Error handling in Solidity is very useful

Reading Time: 3 minutes Hello guys, here is another blog on Solidity. Check out my previous blog on Value types in Solidity. In this blog, we will see how to do error handling in Solidity. Solidity uses state-reverting exceptions to handle errors. Such an exception undoes all changes made to the state in the current call and all its sub-calls and reports the error to the caller. When exceptions Continue Reading

Expressions and Control Structures in Solidity

Reading Time: 3 minutes Hey Readers! Welcome back to the world of Solidity. In this blog we will see what are the Expressions and Control Structures in Solidity. Expressions and Control Structures in Solidity is a vast concept that we will see today. Control Structures Most of the control structures known from curly-braces languages are available in Solidity: There are if, else, while, do, for, break, continue, return, with Continue Reading

Box Pointers in Rust make recursive types possible

Reading Time: 3 minutes Overview A pointer is a general programming concept for a variable that contains an address in memory. In Rust, we have smart pointers in addition to normal pointers. Smart pointers are data structures that not only act as a pointer but also have additional metadata and capabilities. Box pointers are one of the smart pointers in Rust. Box Pointers Boxes allow you to store data on the heap Continue Reading

Gyroscope sensor of the stm32 board || Part 2

Reading Time: 4 minutes Hi everyone, in today’s blog we are going to work further with the Gyroscope sensor of the stm32 discovery board. We are going to access the l3gd20 package and return the important data to the main method. In the previous part of this series, we learned about the Gyroscope Sensor, how it works and where we use this sensor. So before reading it further, I Continue Reading