Swift project focus areas in 2023

A couple of questions:

  1. Concurrency

    Does this include custom executors? I remember there was also talk about adding locking primitives and such; is any of that in scope for 2023?

  2. "basic support for non-copyable types"

    Does this include standard library changes? Or just the language support for declaring such types? How basic is basic?

  3. Reflection

    I think better reflection APIs are a pretty major feature that are worth drawing attention to. Presumably they are in-scope since there's already a pitch. Some developers have been asking for things like runtime-discoverable attributes as well, and it seems there may be some early exploration about that. It would be nice to know what the scope of the plans are.

    Whenever you're ready. I'm just surprised it wasn't mentioned.

  4. Side-effect and escape analysis.

    I've noticed some of this land already and I think it's really exciting - I've always wondered why the compiler didn't do this. Is there some way to experiment with it?

10 Likes