---
title: "Dipto Biswas (@diptobiswas) | Hashnode"
description: "Programmer 🧑‍💻 Writer ✍ Artist 🎨 Musician 🎤 Also very lazy 😪. Read the latest articles by Dipto Biswas on Hashnode."
url: "https://hashnode.com/@diptobiswas"
---

@diptobiswas

# Dipto Biswas

@diptobiswas · India · Joined July 2023

Programmer 🧑‍💻 Writer ✍ Artist 🎨 Musician 🎤 Also very lazy 😪

### [Writing Tests in Rust](https://diptobiswas.hashnode.dev/writing-tests-in-rust?utm_source=hashnode&utm_medium=feed)

Introduction We know that Rust has a very interactive & intelligent compiler, who'll notify us about all the errors, and warnings (what we ignore). But it cannot notify us about the issues in our business logic. So we should write tests (that we don'...

3 min read · [diptobiswas.hashnode.dev](https://diptobiswas.hashnode.dev/writing-tests-in-rust?utm_source=hashnode&utm_medium=feed)

[Feb 13, 2024](https://hashnode.com/posts/writing-tests-in-rust/65cb94235f724421cc1af613)

### [Lifetimes in Rust](https://diptobiswas.hashnode.dev/lifetimes-in-rust?utm_source=hashnode&utm_medium=feed)

Introduction Lifetimes as the name says is how long references in Rust are active. fn main() { let r; { let x = 5; r = &x; } println!("r: {}", r); } Error: error\[E0597\]: \`x\` does not live long enough --> src/main.r...

4 min read · [diptobiswas.hashnode.dev](https://diptobiswas.hashnode.dev/lifetimes-in-rust?utm_source=hashnode&utm_medium=feed)

[Feb 7, 2024](https://hashnode.com/posts/lifetimes-in-rust/65c33d59139357f9c2987acf)

### [What Are Trait Bounds In Rust?](https://diptobiswas.hashnode.dev/what-are-trait-bounds-in-rust?utm_source=hashnode&utm_medium=feed)

Introduction Trait bounds are a way to ensure type-safety of trait implementations, making the Code safer, and more predictable. We have actually already done something similar in Generics, where we have ensured that parameters being passed must be c...

2 min read · [diptobiswas.hashnode.dev](https://diptobiswas.hashnode.dev/what-are-trait-bounds-in-rust?utm_source=hashnode&utm_medium=feed)

[Feb 6, 2024](https://hashnode.com/posts/what-are-trait-bounds-in-rust/65c1e8a73cb616f11fb8f4d5)

### [Crates, Packages & Modules in Rust](https://diptobiswas.hashnode.dev/crates-packages-modules-in-rust?utm_source=hashnode&utm_medium=feed)

Introduction The programs we're writing till now are all small programs. Mostly contained inside one file main.rs and that's okay. But when we're working on a bigger project, let's say a multi-player game, and we're writing all our code inside main.r...

3 min read · [diptobiswas.hashnode.dev](https://diptobiswas.hashnode.dev/crates-packages-modules-in-rust?utm_source=hashnode&utm_medium=feed)

[Feb 5, 2024](https://hashnode.com/posts/crates-packages-modules-in-rust/65c0fc32f7454bf9acd1aeb7)

### [Iterators in Rust](https://diptobiswas.hashnode.dev/iterators-in-rust?utm_source=hashnode&utm_medium=feed)

Introduction Iterators as the name says traverses over a sequence of elements by taking turns. In Rust Iterators doesn't do anything more, but you can always write logic to do more. Example This is how we can use iterators. fn main() { let v = ve...

2 min read · [diptobiswas.hashnode.dev](https://diptobiswas.hashnode.dev/iterators-in-rust?utm_source=hashnode&utm_medium=feed)

[Feb 4, 2024](https://hashnode.com/posts/iterators-in-rust/65bf9a1ef61a51ea77c5d621)
