C++


Getting Started with C++ Template Generics: Tower of Hanoi

From here begins the journey of mercilessly thrashing the compiler with C++ templates...

A Small Pitfall of Implicit Type Conversion in C
2016-11-07 Notes C Typecast
Chromium DNS Flow Analysis
2016-04-12 Research C++ Chromium DNS

An in-depth analysis of Chromium’s DNS request flow, and how to implement detailed logging for DNS requests.

An In-Depth Analysis of C++ Member Function Call Details

More or less an interview question I prepared in my spare time. When I interview people later, let’s see who still dares to write “proficient in C++” on their resume…

[Source Code Walkthrough] NetSpeeder: A Simple and Brutal Server-Side Network Accelerator
2015-08-31 Research C libpcap

Recently I have been looking into low-level packet transmission analysis for APP applications and read some libpcap-related source code. Here I briefly pick a small tool based on libpcap to practice by analyzing it.

[Source Code Review] WebBench: A Classic Stress-Testing Tool
2015-07-27 Research C Benchmark

Annotated WebBench source code with a brief analysis.

[Source Code Walkthrough] TinyHttpd: The Simplest Web Server Implementation
2015-07-25 Research C webserver

Annotated TinyHttpd source code and a brief analysis.