DZDavid Zhangindavidzhang.hashnode.dev·Apr 26, 2025 · 6 min readHigh-Performance Chat Server in C++ using Coroutines and epollBuilding on my previous exploration of a traditional event-driven chat server in C++ with epoll, I've now implemented a modern solution using C++20 coroutines. While both approaches leverage epoll's efficiency, coroutines provide a more natural, sync...00
DZDavid Zhangindavidzhang.hashnode.dev·Apr 13, 2025 · 8 min readHigh-Performance Chat Server in C++ using epollAfter implementing a simple chat server in Go using goroutines for client handling, I wanted to explore an alternative approach using C++ and the epoll event notification mechanism. While Go abstracts away many of the complexities of concurrent progr...00
DZDavid Zhangindavidzhang.hashnode.dev·Apr 12, 2025 · 6 min readBuild a Tiny Chat Server in GoAfter reading antirez’s elegant Smallchat program, I really appreciated it. It's a simple C program that shows how clean and minimal a chat server can be, and it stuck with me. That inspired me to write something similar in Go—keeping it small and ea...00