Liquid implemented in C++