PinnedRishabh AgarwalMaster C++ like a pro: The ultimate guide for beginners and experts alike!C++ is unlike any other programming language out there. It’s one of the oldest and most popular languages, but it’s also notoriously…3 min read·Mar 14, 2023----
Rishabh AgarwalHow to handle interruptions inside a Java thread?Tasks scheduled inside an application may often need to be cancelled. Learn the best way of task cancellation inside your Java Threads!6 min read·Mar 28, 2024----
Rishabh AgarwalJava’s Executor Framework for StartersLearn all about Java’s Executor Framework in our journey to building a Web Server from scratch!5 min read·Mar 23, 2024----
Rishabh AgarwalHow to Achieve Thread Harmony: A Guide to SynchronizersImagine a busy intersection. For a moment, let us get rid of the traffic lights. What’s the result? Blocked intersection, cars slamming…4 min read·Mar 2, 2024----
Rishabh AgarwalProducer-Consumer Pattern Using Java’s Blocking QueuesLearn how to use Java’s Blocking Queue to implement Producer-Consumer pattern, one of the most popular design pattern out there!5 min read·Feb 23, 2024----
Rishabh AgarwalA Nice Race ConditionRace conditions are the bitter truth of concurrent applications. But why would anyone call a race condition nice?6 min read·Feb 13, 2024--1--1
Rishabh AgarwalJava’s Synchronized CollectionsJava’s Collection framework is one of the foundational components of Java platform. Collections in Java represent a group of objects and…3 min read·Jan 28, 2024----
Rishabh AgarwalObject Sharing in Multi-threaded EnvironmentsAll the intricacies of a multi-threaded environment arises from sharing objects across threads. As discussed here, managing access to…5 min read·Jan 24, 2024----
Rishabh AgarwalVisibility across ThreadsWhat you write may not be visible AT ALL!4 min read·Jan 20, 2024----
Rishabh AgarwalThread Safety from an Object Oriented PerspectiveA program that maintain its correctness in a multi-threaded environment is said to be a Thread-Safe program.6 min read·Jan 14, 2024----