Doug Gregor
dgregor79@sfba.social
<p>Dad, husband, Swift language designer and Swift/C++/ObjC compiler implementor, Author, Generic Programming aficionado. He/him.</p>
Posts
-
Post #1939168
The U.S. Supreme Court is the most dangerous government institution right now. They’re on a right-wing power-grabbing spree that is completely out of step with the American public, and they do not care. We have no mechanism for holding them accountable, and it’s only going to get worse from here. This year’s presidential race should be about making the court accountable to be people: ethics investigations into the Thomas’s bribery and the insurrectionist leanings of the Thomas’s and Alito’s, and...
-
Post #1457316
The #SwiftLang compiler recently got support for control over which warnings get escalated to errors (or not). It also groups warnings and provides more user-facing documentation on what those warnings *mean*. However, we have about 350 warnings that haven&#39;t yet been assigned groups and documented, so the actual benefit of this feature is pretty small right now. If you&#39;re interested in helping triage these warnings and/or writing documentation for them, we&#39;d love your hel...
-
Post #782254
Oh look, the Party of Epstein has introduced the “Stop the Sexualization of Children Act”. Of course it’s not at all about helping children m, it’s a nationwide LGBTQ+ book ban, starting with schools. Please take a moment to tell your Representative to oppose HR 7661. https://www.congress.gov/bill/119th-congress/house-bill/7661/text
-
Post #782253
If you work at the same place I do, today’s the last day for the 2:1 matching on charitable contributions with the maximum doubled. I usually do the annual donations to various groups in the fall, but to leverage this 2:1 match I’ve been leaving a comment with the donations to consider it part of the 2026-27 donation cycle. Nonprofits are generally happy to do so. If you’re in a position to do the same, please do. Think of it as a way to get your employer to support the causes you care about.
-
Post #782249
Emailed both of my senators to strongly oppose the SAVE act. Please do the same.
-
Post #782248
Every time I think realloc might be the answer, I look up its behavior and shake my head. Baking the memcpy into the semantics is just so, so bad.
-
Post #724441
Oh no! The six dots was my most amusing contribution to the C++ standard, and now it’s going away. https://www.sandordargo.com/blog/2026/03/11/cpp26-oxford-variadic-comma