I can understand what you say, but I’d rather insist that I don’t think CoreFoundation
is a mere backend of swift-corelibs-foundation de facto.
For example, CFStringConvertEncodingToIANACharSetName
and its complementary function CFStringConvertIANACharSetNameToEncoding
(of which I gave examples above) are very useful to (and widely used by) server-side programs and web client programs.
I hope equivalent APIs are worked out in swift-foundation even if CoreFoundation
would become unavailable.
2 Likes