Author: Amita Yadav

Combinators- A functional approach of error handling in ‘Rust’

Reading Time: 3 minutes In this world, everyone is interested in the spikes whether it is related to professional thing or personal. In this blog, I am going to give you spikes of the programming practices in Rust. Error Handling – process of handling the possibility of failure Today, every programmer is worried whether he has implemented error handling in right manner or not. There are various ways to Continue Reading

Safe Way to access private fields in Rust

Reading Time: 2 minutes Do you want your fields to be private but got stuck in accessing them from other module. Then this blog let you know the ways to access the private fields as well as which one is safer way. There are two approaches : with getter and setter without getter and setter [A] with getter and setter You can create a public struct with private fields. Continue Reading

Structure your data in Rust

Reading Time: 3 minutes Structuring of data in correct way is very important. In java and C++, we use Class & Object. In C, we use structures , unions, and enums. We know that Rust adopts some features of functional programming and OOPS. Class and object is the main weapon of OOPS‘ feature but how rust provides that functionality in its context. We will see this: As Rust is Continue Reading

How to create a bucket on Amazon S3 and getting security credential keys?

Reading Time: 3 minutes Amazon S3 has a simple web services interface that you can use to store and retrieve any amount of data, at any time, from anywhere on the web. This blog describes : how you can create buckets on S3, getting credential keys, where should you keep your credential keys. CREATION OF BUCKET First of all, you need to sign up in aws S3 after that Continue Reading

How to upload any file on Amazon S3 using Rust?

Reading Time: 3 minutes Welcome everyone to the file upload on Amazon S3 using the Rust. Amazon S3 [Amazon Simple Storage Service] provides virtually limitless storage on the internet. For the bucket creations and security credentials please refer to my last blog. This blog explains following requests using Rust: sending a request to aws S3 bucket, list of objects in the bucket, putting  an object in the bucket, deleting Continue Reading

WHY RUST? (Episode 1 )

Reading Time: 4 minutes “Rust is a systems programming language that runs at gunfire speed, prevents segfaults, and guarantees thread safety.” Rust & its paternity First, Rust is heavily influenced by Cyclone (a safe dialect of C and an imperative language), with some aspects of object-oriented features from C++. But, it also includes functional features from languages like Haskell and OCaml. The result is a C-like language that supports Continue Reading