All Writings

Understanding asynchronous I/O; building an event loop from scratch

What is asynchronous I/O exactly and how does it work under the hoods? In this post, we’re going to be answering these questions and then building a bare-bones event loop from scratch in C to demonstrate async I/O.

How Rust solves memory management without a garbage collector

Rust has been consistently increasing in popularity, and one of the reasons is its built-in memory safety capability without sacrificing high-performace. But how does Rust manages memory automatically without a garbage collector?

Using interfaces in Go the right way

Go interfaces offer great flexibility and powerful abstraction. However, their misuse can lead to cluttered and unmaintable code. Read this guide to learn how to use Go interfaces that follow SOLID design principles