2 ms·
This is only being talked about now, because ABI compability is already working. The Swift compiler is in C++ targeting the LLVM and therefore with great inter
by oscargrouch 6y ago
This is only being talked about now, because ABI compability is already working.
The Swift compiler is in C++ targeting the LLVM and therefore with great interoperability with C and C++ through Clang.
The Swift compiler also ships with Clang, and you can link C and C++ projects that are dependencies of Swift packages using the Swift package manager with little effort.
- humanrebar 6y agoIf only having tools from the same toolchain guaranteed ABI compatibility worked! Something as apparently benign as using absl::string_view with different '-std=c++NN' flags in different otherwise unrelated C++ libraries is an ABI break.