Passing an Array of Strings from Swift to C

Swift has built-in support for bridging native strings to C strings, but this doesn’t include transparent bridging of arrays of strings to arrays of C strings. Here I discuss an internal helper function the Swift standard library uses for this purpose.

Similar

Swift Distributed Actors

Since @_marker isn't (I believe) intended for use in user code, I think the situation is somewhat different. Implicit in the "underscored language features may be removed at any time" policy is that we won't break the source compatibility promise, so to t... (more…)

Read more »