Rust

Gyroscope| Sensor of the “stm32 Discovery Board”

Reading Time: 4 minutes Today we are going to learn about a new sensor of the stm32f3 Discovery Board. This sensor is known as Gyroscope. We are going to know about this particular sensor and its function and why we need it in our embedded development. This is going to be a series of the blogs just like other series for Sensors. In our previous series of blogs, we Continue Reading

Accelerometer as Puncho-o-meter | The “stm32-Discovery Board Sensor”- Part 3

Reading Time: 4 minutes Hello everyone, In this blog, we are going to provide you the way to use the Accelerometer Sensor of the Discovery Board as a Punch-o-meter. This is going to be the last part of the series in which we will work with Accelerometer as Puncho-o-meter. In the previous part, we have discussed the Accelerometer Sensor of the Discovery Board and we also got the readings Continue Reading

Error Handling in Rust – Error are a fact of life in Software.

Reading Time: 4 minutes Hello Readers!! Again I am here with an exciting topic that is Error Handling. As we know errors are things that no one wants in their program. So lets see what are Errors and how we can handle them . An error is basically an unexpected behaviour or event that may lead a program to produce undesired output or terminate abruptly. We can try to find Continue Reading

STM32F3’s Magnetometer | Use-cases & Reading Extraction (Part-1)

Reading Time: 3 minutes An embedded system is computer hardware with software embedded in it. Or we can say it is a combination of computer processors, computer memory, and input/output devices and it can be an independent system or a part of a large system. Hi folks, we are back again with another interesting article where we’ll understand the use-cases of Magnetometer sensor and how to extract readings of Continue Reading

Ownership: An exciting concept of Rust(Part-1)

Reading Time: 4 minutes Ownership, An exciting concept of Rust and it enables Rust to make memory safety guarantees without needing a garbage collector. Therefore, it’s important to understand how ownership works in Rust. While running all the programs manage the way they use computer’s memory. Some languages have garbage collection, in other languages, the programmer must explicitly allocate and free the memory. On the other hand Rust uses Continue Reading

Carpooling Chain – Cab Booking made better

Reading Time: 3 minutes About Carpooling Chain is a decentralized blockchain solution built with the objective of eliminating the need for a central authority to book cabs. The blockchain backend for Carpooling chain is build using Substrate. Substrate is a next-generation framework for blockchain innovation. It comes with everything you need to build your blockchain.  Substrate is a completely free and open-source project. It is built using Rust and WebAssembly. Rust is designed for Continue Reading

Accelerometer as Puncho-o-meter | The “stm32-Discovery Board Sensor”- Part 2

Reading Time: 4 minutes Hi everyone, I hope you all are doing fine. So what’s in today’s blog? In today’s blog, we are going to take our findings further. We are going to get the readings of the Accelerometer Sensor in a variable and then we are going to print them on the itm console using ITM. As we are working with the Embedded Systems they make our task Continue Reading

Message Passing in Rust Threads is very helpful

Reading Time: 3 minutes Rust has been the most loved programming language for the last five years in a row. It is a low-level statically-typed multi-paradigm programming language that’s focused on safety and performance. Rust has facilities for message passing through an mpsc channel which allows various threads to communicate. Rust solves problems that C/C++ has been struggling with for a long time, such as memory errors and building concurrent programs. Due to the borrow checker, Rust can prevent data races at compile-time. Data races Continue Reading

How to use Vectors in Rust?

Reading Time: 3 minutes Rust has been the most loved programming language for the last five years in a row. It is a low-level statically-typed multi-paradigm programming language that’s focused on safety and performance. Rust solves problems that C/C++ has been struggling with for a long time, such as memory errors and building concurrent programs. Due to the borrow checker, Rust can prevent data races at compile-time. Data races occur when Continue Reading

Accelerometer as Puncho-o-meter | The “stm32-Discovery Board Sensor”- Part 1

Reading Time: 4 minutes Hello everyone, I hope you are fine and learning every day. In today’s blog, we are going to discuss a Sensor of the stm32-Discovery Board. Using this Sensor we will try to make a Punch-o-meter. This is going to be a series of blogs in which each part will take you nearer to the development of Punch-o-meter using one of the Discovery Sensors. In previous Continue Reading

Test Cases in Rust are simple to write

Reading Time: 4 minutes Rust has been the most loved programming language for the last five years in a row. Rust is a low-level statically-typed multi-paradigm programming language that’s focused on safety and performance. Rust solves problems that C/C++ has been struggling with for a long time, such as memory errors and building concurrent programs. Due to the borrow checker, Rust can prevent data races at compile-time. Data races occur when Continue Reading

IRON, Framework on which you can rely while working on RUST

Reading Time: 3 minutes Hello Readers! Rust’s Iron framework is a high level web framework which is built in and built for Rust. It is basically built on hyper. It is designed to take advantage of Rust’s greatest features – it’s excellent type system and principled approach to ownership in both single threaded and multi threaded contexts. Rust’s Iron is highly concurrent and can scale horizontally on more machines behind Continue Reading

Submit Extrinsic from Custom Pallets using Polkadot Js API

Reading Time: 3 minutes Substrate is a next-generation framework for blockchain innovation. It comes with everything you need to build your blockchain. Substrate is a completely free and open-source project. It is built using Rust and WebAssembly. Rust is designed for creating fast and inherently safe software. Substrate is like a template from which you can make your own application-specific blockchain to add custom functionalities specific to one use case or group of Continue Reading