Making a C codebase reentrant by turning it into a big C++ object | Hacker News Reader