[swift-dev] statically initialized arrays

Dave Abrahams dabrahams at apple.com
Thu Jun 15 13:22:30 CDT 2017

on Thu Jun 15 2017, Arnold <aschwaighofer-AT-apple.com> wrote:

>> W00t!  I'd like to do the same for String, i.e. encode the entire buffer
>> in the data section.  I was looking for Array example code to follow but
>> couldn't find it.
> We have support for constant string buffers as of PR 8701 and PR
> 8692. The former PR shows the protocol that has to be implemented.
> (The implementation currently exposes the ref count ABI. This
> can/needs to be fixed when we move to a stable abi by running an once
> initializer)

Great, I'll have to look into that when/if I get back to this.


More information about the swift-dev mailing list