Thanks! Didn't realize that there will be other proposals that will make it safe.
I'm happy with problems being broken up into multiple proposals! I just noticed that the checks in the proposal are not sufficient to ensure safety, and wanted to know if there's something I'm missing. The first reply sounded like the safety wouldn't be introduced until long time into the future (swift 6 is often used as a hypothetical release when there are breaking changes, which I don't see happening any time soon). Now I know that the handrails will be reinforced before concurrency is out :)
In the pitch thread I asked what are the requirements for conforming to the ConcurrentValue
protocol, and the answer was that all public API should be usable across concurrency domains
If that's not what "can be shared across concurrency domains" means, then could you tell me what does it mean? As far as I know values of all types can be shared across threads, as long as you don't perform any operations on them.
I'm looking forward to it!