Prabhat Kashyap

Writer & Blogger

  • All Post
  • Best Practices
  • GenAI
  • General
  • Java
  • QuickFix/J
  • Rust
  • Scala
  • Talk
    •   Back
    • Rust Series
    •   Back
    • Spring Boot
Why Monolith Is Not a Bad Idea

September 30, 2024/

Monolithic architecture is a practical choice for new projects, especially in Java, offering simplicity, ease of development, testing, and data consistency while reducing operational overhead. Successful companies like Basecamp, Shopify, and GitHub have effectively utilized monoliths. Starting with a monolith allows...

Understanding References and Borrowing in Rust

September 19, 2024/

The blog delves into Rust's concepts of references and borrowing, explaining how they allow functions to access values without transferring ownership. It covers mutable references, the dot operator, and Rust’s borrowing rules, especially in multithreaded scenarios. With a focus on memory...

Understanding Ownership in Rust: A Deep Dive

September 15, 2024/

Rust's ownership model, central to its memory safety, ensures that each value has a single owner, preventing data races and memory leaks. When a value moves to a new variable, the original becomes invalid. Rust provides cloning for deep copies and...

Understanding Strings in Rust: A Comprehensive Guide

September 11, 2024/

Rust offers various string types, including &str for immutable slices and String for mutable, heap-allocated text. It also provides platform-specific and C-style strings like OsStr, OsString, CString, and CStr. Rust handles text using UTF-8 encoding, requiring proper methods for character access.

Control Flow in Rust: A Comprehensive Guide

September 7, 2024/

Rust's control flow includes if, loop, while, and for constructs. if expressions return values without semicolons, loop supports infinite iterations, while checks conditions, and for iterates over collections and ranges. Rust’s approach emphasizes type safety and efficient execution.

Understanding Compound Types in Rust

September 4, 2024/

Rust’s compound types include tuples and arrays. Tuples group multiple values of different types and have a fixed size, while arrays hold multiple values of the same type and are also fixed in length. Both types are essential for organizing and...

Exploring Scalar Types in Rust: A Detailed Guide

August 31, 2024/

Rust's scalar types include integers, floating-point numbers, booleans, and characters. Integers are signed or unsigned, floats have 32 or 64-bit precision, and booleans represent true/false. Characters are 4-byte Unicode values. Understanding these types is key to writing efficient and safe Rust...

Understanding the SpringApplication.run Method in Spring Boot

August 29, 2024/

We explore the process triggered by the SpringApplication.run() method in Spring Boot. You'll learn how the SpringApplication instance is initialized, how the environment and application context are prepared, and the key steps leading to the application's final startup. By understanding these...

Understanding Functions in Rust: A Comprehensive Guide

August 28, 2024/

Functions in Rust, declared with the fn keyword, follow snake case naming and can have typed parameters. The last expression without a semicolon is automatically returned, making the code concise. Flexible declaration order and clear return types contribute to writing efficient,...

About Me

Hello, I'm Prabhat Kashyap

Unreserved in curiosity and driven by craft, Prabhat blends technical depth with quiet ambition—always improving, always building.

Popular Posts

  • All Post
  • Best Practices
  • GenAI
  • General
  • Java
  • QuickFix/J
  • Rust
  • Scala
  • Talk
    •   Back
    • Rust Series
    •   Back
    • Spring Boot

Featured Posts

  • All Post
  • Best Practices
  • GenAI
  • General
  • Java
  • QuickFix/J
  • Rust
  • Scala
  • Talk
    •   Back
    • Rust Series
    •   Back
    • Spring Boot

Categories

Edit Template

Guided by solid engineering principles, Prabhat builds precise, reliable systems with thoughtful, decisive execution.

© 2026 Prabhat.Dev