While manipulating strings, it is a common requirement to slice parts of the string. The Slice Type in Rust makes it easy and error-free to slice strings. The Slice Type is particularly useful because it Read more…
When we work with pointer-based languages, we can possibly encounter dangling references. Not so in Rust. Dangling References in Rust are automatically taken care of by the compiler at compile-time. In this post, we will Read more…
Borrowing is a fundamental concept of Rust programming language. Typically, when we pass ownership of an object to a function by reference, we cannot make changes to the object. It is immutable. However, many times, Read more…
To decode the concepts of Rust Ownership and Borrowing, let us start with an example: Looks like a pretty harmless piece of code. After declaration and initialization, the greetingMsg variable is passed to the function Read more…
Every programming language depends on data types. The same goes for Rust programming language. Rust Data Types cover the various needs of storing data. Since Rust is a statically typed language, data types become even Read more…
Functions form the backbone of any programming language. They help make a program easier to maintain by reducing complexity. Even during development, breaking a program into logical blocks or functions can lead to a better Read more…
Rust programming language is getting ever more popular. It has been voted as the Stackoverflow’s most loved language 4 times in a row. While it takes time for a programming language to create a space, Read more…
Caching is an important consideration for any application. If done correctly, it can help improve the performance of the application. Fastify Redis Cache setup can help developers take care of caching requirements for a Fastify Read more…
Authentication is an absolute necessity in any application exposed to users. We need to make sure that the user trying to access our application is an actual user. In other words, we have to make Read more…