logo

All Posts

Building an HTTP/1.1 Web Server from Scratch in C++98

A deep dive into building a production-grade HTTP/1.1 web server from scratch using C++98, covering TCP sockets, I/O multiplexing with select(), HTTP parsing, CGI support, and more.

Minishell: Building a Mini-Bash Shell from Scratch in C

A comprehensive guide to building a functional shell interpreter from scratch, covering pipes, process management, signal handling, redirections, and command execution.

Demystifying get_next_line: A Deep Dive into Static Buffer Memory

Ever wondered how to read massive files without crashing your program? Dive into the infamous get_next_line project from 42 School and discover the elegant magic of static variables, buffer management, and memory persistence.