[swift-corelibs-dev] Measurement Formatters & ICU

Chris Lattner clattner at apple.com
Mon Aug 22 12:41:49 CDT 2016


On Aug 22, 2016, at 10:10 AM, Tony Parker via swift-corelibs-dev <swift-corelibs-dev at swift.org> wrote:
>> Looking for any thoughts and suggestions before I begin implementing this.
>> 
>> Henry
>> 
> 
> This approach makes sense - we have been putting stub functions into CF to use ICU, because ICU’s headers are not module-friendly (yet?). Our Darwin implementation also maps to the ICU constants for units (that I’m sure you found).
> 
> I would love to be able to use ICU from Swift instead of implementing everything twice, but maybe that’s a tall order.

It would be great for someone to work with the upstream ICU project to get their headers to be module friendly.

-Chris



More information about the swift-corelibs-dev mailing list