Swift treats double-quoted literals as the String type. C++ treats double-quoted literals as a zero-terminated const char[] but does have a standard string type that can be used. Both Swift and C++ support unicode.
Read moreIs Swift code same as C?
Swift is a successor to both the C and Objective-C languages . It includes low-level primitives such as types, flow control, and operators. It also provides object-oriented features such as classes, protocols, and generics, giving Cocoa and Cocoa Touch developers the performance and power they demand.
Read moreIs Swift just C++?
Platform vendors often delay self-hosting their compilers—thirteen years passed between the release of C# 1.0 and the release of Roslyn —so it’s not surprising that Swift is still using a C++ compiler .
Read more