Rust

Containerize Rust Application with Docker

Reading Time: 3 minutes Containerization is a lightweight alternative to a virtual machine that involves encapsulating an application in a container with its own operating system.So here I acquaint you all with containerizing Rust Application with Docker. Docker is a tool that allows users to easily deploy their applications in a container to run on the host operating system.

Welcoming RUST to the world of IoT

Reading Time: 3 minutes Breaking away the stereotypes of a blog, let’s start with a question. What’s our future? If I was asked this question, it has to be IoT. Internet of Things has already taken the technology world by a storm and is continuing to do so. While learning about IoT, its uses and all that stuff, a desire to make my own IoT framework arose. I started Continue Reading

Loggers in Rust

Don’t Worry… I hugged it first – Loggers In Rust

Reading Time: 2 minutes Loggers play the most significant role in the software development community that not all developers take it seriously. Due to this, all have lost countless hours while debugging the code. So it is helpful to use logger. So, lets explore how to use loggers in Rust. Importance of Logger? Logger provides tremendous help to the developer while understanding the code. But also some developer assumes Continue Reading

No more run time !! Enjoy Compile time function evaluation using `const fn` in Rust

Reading Time: 2 minutes Sometimes we want the compiler to pre-compute values at compile time. If you have ever done programming in C++, you would have heard about constexpr which is used to improve performance by doing computations at compile time rather than run time. A few days ago, I was exploring Rust’s Unstable Book and found pretty much same feature in Rust, which is const_fn. I started exploring Continue Reading

Bid adieu to tarpaulin, HTML reports are here for RUST

Reading Time: 4 minutes If you bumped into this article, you might not be new to the Rust language. So, if you are not new then you might have written test cases for your code (for sure!!) and to test your code coverage, you were likely to use tarpaulin tool. But hey… think about this – You are ready with your code base with all the best practices incorporated Continue Reading

You can live without Exceptions, If you are using RUST

Reading Time: 3 minutes If you are coming from Java background, where you have used Exception Handling extensively and you have started working on new language like RUST, which doesn’t support Exception Handling then you will be forced to think that does such kind of world really exists? The Java story Java provides full coverage to Exceptions and those are required to be handled with try-catch like construct. In Java, 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

Are you still using `println` in Rust for debugging?

Reading Time: 2 minutes Printing to standard output is a good way to trace through your code and troubleshoot potential problems. While coding, many programmers use a lot of println statements to see what is going on at different levels in their code. If you are from Java background, you would have used System.out.println() and System.err.println() methods. If you are from Scala background, you would have used println. As Continue Reading

Rust – References

Reading Time: 3 minutes In my previous blog, we discussed how Rust performs memory management. Interesting as it is, the concept of ownership does come up with a few obstacles when it comes to programming. For instance, if we use a variable as a parameter to another function, Rust doesn’t allow us to access the same variable in that scope anymore. For more details as to why that happens, Continue Reading

RUST: Begin the Journey with CODE

Reading Time: 4 minutes Hope so you have already gone through the first blog “RUST: Quick Start & Exploring Cargo” and ready to workout with your fingers and keys. You might be thinking about the basic programming concepts of RUST as a language. With the help of an example, I will try to cover the following points (practically): mutable, immutable variables Standard input/output (console) Functions Data type and conversion Loops: Continue Reading

RUST: Quick Start & Exploring Cargo

Reading Time: 3 minutes This blog will guide you through the brief introduction to RUST, installation, uninstallation, version updating and quick start with its own build tool CARGO. RUST – safe, concurrent, and practical language, much similar to C++ (syntactically) supports functional as well as imperative-procedural paradigms. Setting up RUST in your system: For Linux or Mac: It’s quick and easy to install and setup your system for RUST Continue Reading

Knoldus Pune Careers - Hiring Freshers

Get a head start on your career at Knoldus. Join us!