Drew McCormack on Nostr: It is a risky time for Swift. They are channeling enormous resources into solving ...
It is a risky time for Swift. They are channeling enormous resources into solving multi-threading at compile time, but the remedy is worse than the sickness. They are introducing a whole different problem: systemic race conditions. Interleaving of async functions. These are much more difficult to track down IMO. I am literally breaking my head on some of these things. Without a transactional system like dispatch, you end up with something more complex than multithreading.
Published at
2024-07-23 08:50:16Event JSON
{
"id": "b4eb1a9312203da72938f9b03de272c328a2288090e18d7212fba62de9fede60",
"pubkey": "6c08d3fafe5aa90096478a73c7c499ad724181e7dcd9d2a0e5d9e42243d512a3",
"created_at": 1721724616,
"kind": 1,
"tags": [
[
"proxy",
"https://mastodon.cloud/users/drewmccormack/statuses/112834944446093987",
"activitypub"
]
],
"content": "It is a risky time for Swift. They are channeling enormous resources into solving multi-threading at compile time, but the remedy is worse than the sickness. They are introducing a whole different problem: systemic race conditions. Interleaving of async functions. These are much more difficult to track down IMO. I am literally breaking my head on some of these things. Without a transactional system like dispatch, you end up with something more complex than multithreading.",
"sig": "cd34625e16e321b39d45057db1f4ed900d6d4d7ca1b386f87b2cf1a16e6656464e38286bcc23a761d339ce749b216152b0e28f5bd9e290a3e06eb37dbc2897d6"
}