Hacker News new | ask | show | jobs
by synergy20 657 days ago
what do you mean? considering spdlog is the de facto logger for c++
1 comments

Nano is claiming insanely better performance over spdlog, which confuses me
spdlog is designed as a general purpose logging library and it can’t beat low latency loggers. It doesn’t scale for multiple threads because it’s async mode is using a mutex and a cv to notify the background thread.

You can find some logging libraries benchmarks here https://github.com/odygrd/quill?tab=readme-ov-file#-performa...