Posts
Sandor Dargo's Blog
Cancel

Time in C++: Additional clocks in C++20

In this series, we’ve already talked about the main pillars behind <chrono>, the most widely used clocks, and even inter-clock conversions. Those clocks — system_clock, steady_clock, and hig...

2025: A year with many faces

It’s the end of another year, and as I’ve done many times before, I’m sharing a personal reflection on how the year went: what I achieved, where I fell short, and what I’m planning for the next one...

Time in C++: Inter-clock Conversions, Epochs, and Durations

By now in this series, we’ve spent time looking at the major standard clocks and their behavior. We’ve talked about wall-clock time, monotonic clocks, and the myths around “high resolution”. Today,...

2025, A Year of Conferences

This year I had the chance to attend three conferences onsite, plus one online, and even a meetup in my hometown, Budapest. Depending on who you ask, maybe it’s not a lot — I know some speakers do ...

Time in C++: std::chrono::high_resolution_clock — Myths and Realities

If there’s one clock in <chrono> that causes the most confusion, it’s std::chrono::high_resolution_clock. The name sounds too tempting — who wouldn’t want “the highest resolution”? But like m...

Time in C++: Understanding std::chrono::steady_clock

In the previous articles, we explored what clocks are in general and took a closer look at std::chrono::system_clock, the one that represents the wall-clock or calendar time. Now let’s move to anot...

Time in C++: std::chrono::system_clock

Last week, we started a series on clocks, by introducing the <chrono> library in general. We saw the three pillars of the library: time_points, durations and clocks from a birds-eye view. As ...

Time in C++: Understanding <chrono> and the Concept of Clocks

Let’s start a new series! A few months ago, I began working on tasks related to instrumentation and logging, and I had to deal with timestamps, different clock types, and more. Some parts felt a b...

Trip report: Meeting C++ 2025

What a year I had! One more conference, one more trip report! I had the chance to go to Meeting C++ and give not just one but two talks! I remember that last year I said that Berlin in November is...

Pragma unroll

After conferences, I often write a couple of short articles about features or techniques I learned about, even if I don’t always find them particularly useful in my own work. At a recent talk, And...