I've used https://github.com/h2o/qrintf before which replaces many snprintf usages with standard C code at compile time
I've used https://github.com/h2o/qrintf before which replaces many snprintf usages with standard C code at compile time