Rahul SinghRecursion and Stack OverflowRecursion is an elegant programming technique. Definitely something that programmers should learn and be comfortable with understanding and…Dec 10, 2023Dec 10, 2023
Rahul SinghVisualizing I/O Completion Ports based Async I/O on WindowsA few months ago, I had read about Windows’ Asynchronous I/O mechanisms in Jeffrey Richter’s excellent textbook Windows via C/C++…Dec 6, 2023Dec 6, 2023
Rahul SinghVisualizing the toy Ref Counting PointerVisualization is a great technique to help internalize things. This is not just true for technical concepts in the software engineering…Dec 5, 2023Dec 5, 2023
Rahul SinghImplementing a toy Single Threaded Ref Counting Pointer in RustRust standard library provides std::rc::Rc (and the accompanying std::rc::Weak). It is a single threaded reference counting pointer that…Dec 3, 20231Dec 3, 20231
Rahul SinghRust program to query IP Address dataFor various reasons, I sometimes find myself looking for geolocation and/or ownership data of a public IP address. For example, when I get…Nov 26, 2023Nov 26, 2023
Rahul SinghImplementing a toy Semaphore in RustRust standard library comes equipped with Mutex and Condition Variable primitives. It doesn’t have built in Semaphores though. Let’s try to…Nov 24, 2023Nov 24, 2023
Rahul SinghThe Wonder of Computer ProgrammingLet’s try to see a point of view on why might Computer Programming be so fascinating.Nov 23, 20231Nov 23, 20231
Rahul SinghImplementing a Simple ThreadPool in RustIn this article, I’ll describe the implementation of a toy ThreadPool program in Rust. I wrote it a few months ago while learning about…Nov 21, 20232Nov 21, 20232
Rahul SinghDeveloping a ‘Guess the Number’ game application using TauriI recently read an article stating that a Random Number Guesser was a good first project when learning a new programming technology. It…Nov 18, 2023Nov 18, 2023