Recent Posts

Turbo Introduction of C++20 modules

2 minute read

Old school libraries use splitting into hpp/cpp files. Mayor drawbacks: leaking of macros (hpp can be different at library's consumer side than at library p...

profiling c++ under linux using gprof

less than 1 minute read

In-depth tutorial: https://www.thegeekstuff.com/2012/08/gprof-tutorial/ Summary: Compile with -pg compiler flag (gcc/clang). Executing binary gives gmon.o...

terminator: useful multi-window terminal emulator

less than 1 minute read

one can set terminator up to start with pre-defined layout and terminals. important distinction: layout defines where and how a window should be setup and a...

fast linker: mold

less than 1 minute read

Install mold on your linux box. Enable mold for gcc/clang by supplying -fuse-ld=mold, e.g. clang -fuse-ld=mold a.cpp Enable in CMake by supplying argu...