Elektrine
Log in Register
Paige Chat Timeline Gallery Friends Email Drive DNS Private DNS Domains VPN Kairo Nerve
Remote

Doug Gregor

@dgregor79@sfba.social
mastodon 4.7.3
  • Open on sfba.social

Dad, husband, Swift language designer and Swift/C++/ObjC compiler implementor, Author, Generic Programming aficionado. He/him.

0 Followers
0 Following
16 Posts
Joined November 11, 2022
GitHub:
https://github.com/DougGregor
Open post
Doug Gregor @dgregor79@sfba.social
· 6mo ago

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

sandordargo.com
30
1
14
0
Open post
Doug Gregor @dgregor79@sfba.social
· 7mo ago

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.

21
0
7
0
Open post
Doug Gregor @dgregor79@sfba.social
· 6mo ago

Emailed both of my senators to strongly oppose the SAVE act. Please do the same.

10
0
4
0
Open post
Doug Gregor @dgregor79@sfba.social
· 7mo ago

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

congress.gov
11
0
12
0
Open post
Doug Gregor @dgregor79@sfba.social
· 27mo ago
Replying to
This should be an easy case to make in an election year: this court stripped away women’s rights that were “settled law” for 50 years. This court literally redefined the word “bribery” amidst an ongoing bribery scandal. This court has members who have monetarily and publicly supported the January 6th insurrection, yet won’t recuse from cases about it. They are so clearly corrupt, but unlike Trump, there’s no showmanship to mask the lies or the corruption. Target them, blame Trump for giving them power, and use that mandate to strip them of their power.
94
3
62
0
Open post
Doug Gregor @dgregor79@sfba.social
· 6mo ago

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.

5
0
0
0
Open post
Doug Gregor @dgregor79@sfba.social
· 19mo ago

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't yet been assigned groups and documented, so the actual benefit of this feature is pretty small right now. If you're interested in helping triage these warnings and/or writing documentation for them, we'd love your help in improving the experience for Swift users everywhere. There's more information in this issue: https://github.com/swiftlang/swift/issues/79648

sfba.social
31
0
19
0
Open post
Doug Gregor @dgregor79@sfba.social
· 5mo ago
Replying to
@praetor @ccgus Swift’s Android support targets the NDK, so it’s native code. But because a lot of the APIs you want to use in an Android app are only available in Java, we also have the swift-java package that provides interoperability between Swift and Java (by generating type-safe JNI wrappers).
3
1
0
0
Open post
Doug Gregor @dgregor79@sfba.social
· 7mo ago
Replying to
@_inside@mastodon.social There’s a pitch up on the forums at https://forums.swift.org/t/pitch-extensible-availability-checking/79308 The feature seems very appealing to help manage feature flags as well as separately-versioned libraries, but there’s still details to sort out.
[Pitch] Extensible availability checking
Swift Forums

[Pitch] Extensible availability checking

Swift gives developers a way to limit the use of declarations in certain contexts using the @available attribute. For example, a library developer can specify that a new API is only available at runtime on macOS 15 or newer using @available: @available(macOS, introduced: 15) public struct Foo { /* ... */ } The compiler only accepts references to the struct Foo in code that proves that it executes on macOS 15 or later, using either @available or if #available(...): let _ = Foo() // error: 'Foo

4
0
0
0
Open post
Doug Gregor @dgregor79@sfba.social
· 5mo ago
Replying to
@datum@zeroes.ca @Paulatics@mstdn.ca @pluralistic@mamot.fr This is not a good argument for making the case against age verification in the OS. We’ve all accepted that you need to show ID when purchasing alcohol or cigarettes. Proponents of age-based verification can simply point to this existing rule and say it’s being updated for the digital age.
2
1
0
0
Open post
Doug Gregor @dgregor79@sfba.social
· 8mo ago
Replying to
@tockrock@hachyderm.io @siracusa@mastodon.social Yes, that’s a good one. His demo is important
2
0
0
0
Open post
Doug Gregor @dgregor79@sfba.social
· 15mo ago
Replying to
@rg9119 Congrats!
1
1
0
0
Open post
Doug Gregor @dgregor79@sfba.social
· 41mo ago
Replying to
@jpsim That’s awful. Best of luck in your search!
1
0
0
0
Open post
Doug Gregor @dgregor79@sfba.social
· 13mo ago
Replying to
@jeremysiek@types.pl Can IU faculty conduct a no-confidence vote (or similar) against executive dean Rick Van Kooten? College administrators need to feel pressure when they undermine faculty in this manner.
0
1
0
0
Back
313k7r1n3
Elektrine

Tor hidden service

elekhj7afj4qnrr4yd3bkzslsyo5jgfxw3orgjkhlcxifueodybyiiad.onion

I2P eepsite

j6b6cyk6gjmepjih7jjadxgxvvf3lzzujljuu2v4biemzpg3naya.b32.i2p

Platform

  • Email
  • Chat
  • Timeline
  • VPN
  • DNS

Company

  • About
  • Contact
  • FAQ
  • Lite (no JS)

Legal

  • Terms of Service
  • Privacy Policy
  • Transparency Report
  • Report Abuse
  • Warrant Canary
  • VPN Policy

Support

  • support@elektrine.com
  • Report Security Issue
Mail client setup IMAP mail.elektrine.com:993 POP3 mail.elektrine.com:995 SMTP mail.elektrine.com:465
© 2026 Elektrine. All rights reserved. Server: 02:03:36 UTC