TechHaraRust — common mistake 2Let’s say we want to implement a ThreadPool in Rust. We create n threads, each waiting for some work to execute. The work will be available…4h ago4h ago
TechHaraSpeed up your server — 3In the previous articles, we explored how to speed up a server by employing coroutines and multiple workers. Today, we will explore how to…2d ago2d ago
TechHaraSpeed up your server — 2Today, let’s continue our exploration on how to speed up our server. In the previous article, we used corotines to speed up the server…Aug 7Aug 7
TechHaraSpeed up your server — 1Let’s explore how to create a scalable and performant server. Though we will cover general techniques not specific to one particular…Aug 5Aug 5
TechHaraConcurrency — function, subroutine, coroutineToday, let’s go over the difference among a function, subroutine, and a coroutine. We will also build a simple app to demonstrate the…Jul 22Jul 22
TechHaraI blame MS for the CrowdStrike incidentYesterday we observed the largest tech failure in history where millions of PCs running Windows failed to boot due to software glitches…Jul 201Jul 201
TechHaraRust — IntoIteratorRust standard library provides a trait called Iterator that turbo-charges Rust with functional paradigm with various built-in methods…Jul 8Jul 8
TechHaraRust — how to “#ifdef”In C/C++, #ifdef and #ifndef are fairly common macros to conditionally include/exclude some portion of code at compile time. Today, let’s…Jul 51Jul 51