<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-11-11T08:08:50+01: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>Every Craft That Moved Before: What Photography, Compilers, and Looms Teach Us About AI</title><link href="https://www.sandordargo.com/blog/2026/11/11/every-craft-that-moved-before" rel="alternate" type="text/html" title="Every Craft That Moved Before: What Photography, Compilers, and Looms Teach Us About AI" /><published>2026-11-11T00:00:00+01:00</published> <updated>2026-11-11T00:00:00+01:00</updated> <id>https://www.sandordargo.com/blog/2026/11/11/every-craft-that-moved-before</id> <content src="https://www.sandordargo.com/blog/2026/11/11/every-craft-that-moved-before" /> <author> <name>Sandor Dargo</name> </author> <category term="dev" /> <summary> Every time a machine learns a new trick, skilled people panic. And every time, they say some version of the same thing: this is different. This time it’s really the end. They’re always right that it’s different. And they’re almost always wrong that it’s the end. I’ve been preparing a talk for Meeting C++ about what happened to the joy of programming in the age of AI. As part of that work, I w... </summary> </entry> <entry><title>C++26: std::constant_wrapper</title><link href="https://www.sandordargo.com/blog/2026/11/04/cpp26-constant-wrapper" rel="alternate" type="text/html" title="C++26: std::constant_wrapper" /><published>2026-11-04T00:00:00+01:00</published> <updated>2026-11-08T22:56:28+01:00</updated> <id>https://www.sandordargo.com/blog/2026/11/04/cpp26-constant-wrapper</id> <content src="https://www.sandordargo.com/blog/2026/11/04/cpp26-constant-wrapper" /> <author> <name>Sandor Dargo</name> </author> <category term="dev" /> <summary> There’s a fundamental gap in C++ that trips up everyone who reaches for it: you can’t pass a constexpr value through a function boundary and have it remain constexpr on the other side. The value is known at compile time, the function is constexpr, but the parameter inside the function body is not a constant expression. This forces workarounds - template parameters, tag types, std::integral_cons... </summary> </entry> <entry><title>C++26 Ranges: Parallel Algorithms and Safer Filters</title><link href="https://www.sandordargo.com/blog/2026/10/28/cpp26-ranges-part-3-parallel-and-safety" rel="alternate" type="text/html" title="C++26 Ranges: Parallel Algorithms and Safer Filters" /><published>2026-10-28T00:00:00+01:00</published> <updated>2026-10-28T00:00:00+01:00</updated> <id>https://www.sandordargo.com/blog/2026/10/28/cpp26-ranges-part-3-parallel-and-safety</id> <content src="https://www.sandordargo.com/blog/2026/10/28/cpp26-ranges-part-3-parallel-and-safety" /> <author> <name>Sandor Dargo</name> </author> <category term="dev" /> <summary> In part 1 we looked at the new views C++26 adds, and in part 2 we covered the infrastructure improvements. This final part is about the biggest gap in C++20 ranges: you couldn’t run them in parallel. C++17 added execution policies to the classic std:: algorithms, but C++20 ranges never got them. If you wanted parallelism, you had to decompose your ranges pipeline back into iterator pairs. C++26... </summary> </entry> <entry><title>C++26 Ranges: Better Infrastructure</title><link href="https://www.sandordargo.com/blog/2026/10/21/cpp26-ranges-part-2-infrastructure" rel="alternate" type="text/html" title="C++26 Ranges: Better Infrastructure" /><published>2026-10-21T00:00:00+02:00</published> <updated>2026-10-21T00:00:00+02:00</updated> <id>https://www.sandordargo.com/blog/2026/10/21/cpp26-ranges-part-2-infrastructure</id> <content src="https://www.sandordargo.com/blog/2026/10/21/cpp26-ranges-part-2-infrastructure" /> <author> <name>Sandor Dargo</name> </author> <category term="dev" /> <summary> C++26 ranges isn’t only about new view adaptors. Three changes landed that don’t give you new ways to compose pipelines but fix real problems: containers can now reserve space for lazy ranges that don’t know their exact size, &amp;lt;random&amp;gt; finally works with ranges, and ranges::to no longer forces you into a | pipeline when a simple function call would do. approximately_sized_range and rese... </summary> </entry> <entry><title>C++26 Ranges: Four New Views</title><link href="https://www.sandordargo.com/blog/2026/10/14/cpp26-ranges-part-1-new-views" rel="alternate" type="text/html" title="C++26 Ranges: Four New Views" /><published>2026-10-14T00:00:00+02:00</published> <updated>2026-10-14T00:00:00+02:00</updated> <id>https://www.sandordargo.com/blog/2026/10/14/cpp26-ranges-part-1-new-views</id> <content src="https://www.sandordargo.com/blog/2026/10/14/cpp26-ranges-part-1-new-views" /> <author> <name>Sandor Dargo</name> </author> <category term="dev" /> <summary> C++20 shipped a powerful ranges library, but the set of view adaptors had some obvious gaps. Want to get the output as a container? No luck. At least C++23 helped with that. Want to iterate over two vectors as one sequence? Write your own. Want to avoid redundant evaluations in a transform | filter pipeline? Write a workaround. Want a quick index sequence matching a range’s size? Spell out iota... </summary> </entry> </feed>
