• Sign in
  • Sign up
Elektrine
EN
Log in Register
Modes
Overview Chat Timeline Communities Gallery Lists Friends Email Vault DNS VPN
Back to Timeline
  • Open on mastodon.social

David Smith

@Catfish_Man@mastodon.social
mastodon 4.6.0-nightly.2026-04-17

I am an irregular collection of floating diffuse lights, chiming softly

0 Followers
0 Following
Joined November 27, 2016
Pronouns:
http://pronoun.is/he/him?or=they
Writing:
http://dscoder.com/DerivingMap/index.html

Posts

Open post
Boosted by CM Harrington @octothorpe@mastodon.online
Catfish_Man
David Smith
@Catfish_Man@mastodon.social

I am an irregular collection of floating diffuse lights, chiming softly

mastodon.social
David Smith
David Smith
@Catfish_Man@mastodon.social

I am an irregular collection of floating diffuse lights, chiming softly

mastodon.social
@Catfish_Man@mastodon.social · 4d ago
So handsome ❤️ #CatsOfMastodon
View on mastodon.social
3
0
1
0
Open post
Catfish_Man
David Smith
@Catfish_Man@mastodon.social

I am an irregular collection of floating diffuse lights, chiming softly

mastodon.social
David Smith
David Smith
@Catfish_Man@mastodon.social

I am an irregular collection of floating diffuse lights, chiming softly

mastodon.social
@Catfish_Man@mastodon.social · Apr 03, 2026

"average person writes 3 UTF16 decoders a year" factoid actualy just statistical error. average person writes 0 decoders per year. Unicodes Smith, who lives in cave & has two in the same open PR, is an outlier adn should not have been counted

View on mastodon.social
47
0
3
0
Open post
Catfish_Man
David Smith
@Catfish_Man@mastodon.social

I am an irregular collection of floating diffuse lights, chiming softly

mastodon.social
David Smith
David Smith
@Catfish_Man@mastodon.social

I am an irregular collection of floating diffuse lights, chiming softly

mastodon.social
@Catfish_Man@mastodon.social · Nov 07, 2025

I wrote up a little flowchart here for how I think about "is it ok to do this work on the default Swift Concurrency thread pool?": https://forums.swift.org/t/is-concurrent-now-the-standard-tool-for-shifting-expensive-synchronous-work-off-the-main-actor/82976/17

When to make something asynchronous, when to make it parallel, and how parallel to make it are all inherently tricky in extremis, but the default behavior is the default for a reason, and is appropriate in the vast majority of cases.

#swiftlang

View on mastodon.social
Is @concurrent now the standard tool for shifting expensive synchronous work off the main actor?
Swift Forums

Is @concurrent now the standard tool for shifting expensive synchronous work off the main actor?

I think for the vast majority of iOS use-cases here people are overcomplicating things. Modern computing devices are unbelievably powerful. Have you verified that there’s actually a problem? “Just d

43
0
12
0
Open post
Catfish_Man
David Smith
@Catfish_Man@mastodon.social

I am an irregular collection of floating diffuse lights, chiming softly

mastodon.social
David Smith
David Smith
@Catfish_Man@mastodon.social

I am an irregular collection of floating diffuse lights, chiming softly

mastodon.social
@Catfish_Man@mastodon.social · Oct 30, 2025

If you, like me, have ever been annoyed at the wastefulness of allocating a whole Array or Set just to store one object to pass to something:

1: change the thing you're passing it to from [Foo] to some Collection<Foo> or some RandomAccessCollection<Foo>

2: replace your Array with a CollectionOfOne

No allocations, no refcounting, no indirection :)

#swiftlang

View on mastodon.social
mastodon.social

Mastodon

71
0
16
0

Media

313k7r1n3

Company

  • About
  • Contact
  • FAQ

Legal

  • Terms of Service
  • Privacy Policy
  • VPN Policy

Email Settings

IMAP: mail.elektrine.com:993

POP3: pop3.elektrine.com:995

SMTP: mail.elektrine.com:465

SSL/TLS required

Support

  • support@elektrine.com
  • Report Security Issue

Connect

Tor Hidden Service

khav7sdajxu6om3arvglevskg2vwuy7luyjcwfwg6xnkd7qtskr2vhad.onion
© 2026 Elektrine. All rights reserved. • Server: 11:36:47 UTC