<feed xmlns="http://www.w3.org/2005/Atom"> <id>https://www.sandordargo.com/</id><title>Sandor Dargo's Blog</title><subtitle>Sandor Dargo writes about about C++, software development, books and stoic philosophy applied to software craftsmanship</subtitle> <updated>2026-07-22T09:15:25+02:00</updated> <author> <name>Sandor Dargo</name> <uri>https://www.sandordargo.com/</uri> </author><link rel="self" type="application/atom+xml" href="https://www.sandordargo.com/feed.xml"/><link rel="alternate" type="text/html" hreflang="en-US" href="https://www.sandordargo.com/"/> <generator uri="https://jekyllrb.com/" version="4.4.1">Jekyll</generator> <rights> © 2026 Sandor Dargo </rights> <icon>/assets/img/favicons/favicon.ico</icon> <logo>/assets/img/favicons/favicon-96x96.png</logo> <entry><title>The Portable Way to Extract Date and Time from a File's mtime in C++</title><link href="https://www.sandordargo.com/blog/2026/07/22/extracting-datetime-from-mtime" rel="alternate" type="text/html" title="The Portable Way to Extract Date and Time from a File's mtime in C++" /><published>2026-07-22T00:00:00+02:00</published> <updated>2026-07-22T00:00:00+02:00</updated> <id>https://www.sandordargo.com/blog/2026/07/22/extracting-datetime-from-mtime</id> <content src="https://www.sandordargo.com/blog/2026/07/22/extracting-datetime-from-mtime" /> <author> <name>Sandor Dargo</name> </author> <category term="dev" /> <summary> After I finished my Time in C++ series, a reader asked a seemingly simple question: “What is the portable way to extract the year, month, day, hour, minute, and second from a file’s modification time? I tried, and I couldn’t get it to work reliably on macOS and Windows.” Fair question. You call std::filesystem::last_write_time(), you get back a time point, and you want the calendar compon... </summary> </entry> <entry><title>The Prompt-Wait-Evaluate Loop: How AI Kills Flow Without You Noticing</title><link href="https://www.sandordargo.com/blog/2026/07/15/how-ai-kills-flow" rel="alternate" type="text/html" title="The Prompt-Wait-Evaluate Loop: How AI Kills Flow Without You Noticing" /><published>2026-07-15T00:00:00+02:00</published> <updated>2026-07-15T00:00:00+02:00</updated> <id>https://www.sandordargo.com/blog/2026/07/15/how-ai-kills-flow</id> <content src="https://www.sandordargo.com/blog/2026/07/15/how-ai-kills-flow" /> <author> <name>Sandor Dargo</name> </author> <category term="dev" /> <summary> A few months ago, I wrote about finding joy in programming in the age of AI. In the personal discussions I’ve had with fellow developers — both before and after that article — one thing keeps striking me. Most people don’t argue. They just say: yes, that’s exactly how it feels. But a question kept coming up in those conversations: why does it feel this way? Not in the philosophical sense — I c... </summary> </entry> <entry><title>Propagating exceptions from destructors with std::exception_ptr</title><link href="https://www.sandordargo.com/blog/2026/07/08/exception_ptr" rel="alternate" type="text/html" title="Propagating exceptions from destructors with std::exception_ptr" /><published>2026-07-08T00:00:00+02:00</published> <updated>2026-07-08T00:00:00+02:00</updated> <id>https://www.sandordargo.com/blog/2026/07/08/exception_ptr</id> <content src="https://www.sandordargo.com/blog/2026/07/08/exception_ptr" /> <author> <name>Sandor Dargo</name> </author> <category term="dev" /> <summary> A few weeks ago, I wrote about what happens when a destructor actually throws and why it is a dangerous idea. One of the readers commented that he was once in a situation where he had to propagate an exception from a destructor. But as a destructor cannot safely throw and it also cannot return any value, he needed a better solution. And that solution was std::exception_ptr. Let’s look into wh... </summary> </entry> <entry><title>C++26: constexpr virtual inheritance</title><link href="https://www.sandordargo.com/blog/2026/07/01/cpp26-constexpr-virtual-inheritance" rel="alternate" type="text/html" title="C++26: constexpr virtual inheritance" /><published>2026-07-01T00:00:00+02:00</published> <updated>2026-07-01T19:45:15+02:00</updated> <id>https://www.sandordargo.com/blog/2026/07/01/cpp26-constexpr-virtual-inheritance</id> <content src="https://www.sandordargo.com/blog/2026/07/01/cpp26-constexpr-virtual-inheritance" /> <author> <name>Sandor Dargo</name> </author> <category term="dev" /> <summary> constexpr has come a long way since its introduction in C++11. Back then, constexpr functions were extremely restricted and could essentially contain only a single return statement. C++14 relaxed those restrictions, allowing local variables, loops, and multiple statements. C++20 was another major milestone, bringing support for constexpr dynamic allocation, enabling types such as std::string an... </summary> </entry> <entry><title>Trip report: ACCU On Sea 2026</title><link href="https://www.sandordargo.com/blog/2026/06/24/trip-report-accu-on-sea-2026" rel="alternate" type="text/html" title="Trip report: ACCU On Sea 2026" /><published>2026-06-24T00:00:00+02:00</published> <updated>2026-06-24T00:00:00+02:00</updated> <id>https://www.sandordargo.com/blog/2026/06/24/trip-report-accu-on-sea-2026</id> <content src="https://www.sandordargo.com/blog/2026/06/24/trip-report-accu-on-sea-2026" /> <author> <name>Sandor Dargo</name> </author> <category term="books" /> <summary> Once again, I got the chance to come to Folkestone, UK. I think this was my fifth time, but the first one at ACCU On Sea. Yes, there is no more C++ On Sea, there is no more ACCU in Bristol — they got merged into ACCU On Sea. The venue is the same as C++ On Sea, many organisers are the same, but of course there are also changes. The conference chair is no longer Phil Nash but Guy Davidson. Th... </summary> </entry> </feed>
