[Pitch] A Vision for WebAssembly Support in Swift

Very excited to see this, particularly the points around interop with WASM from native Swift. I'm curious if that could take the form of a distributed actor runtime, or something more conventional/synchronous.

For the shared code piece, how do you envision that working for dev tools, which often depend on SwiftSyntax?

Also very happy to see the comments about decreasing overhead of macro invocations, though the amount of time that it will take to implement this seems like it seems like it should be cause for concern for those who are already feeling the impact. If this vision is accepted, can we expect to see support for WASM macros land quickly, or do you expect that we'll have to wait multiple years to get relief?

Fwiw the WASM dev tool design seems like a great long term solution to this problem, I just worry that it's going to arrive later than a lot of macro users would like.

2 Likes