News for hackers. Stuff that matters.
Re:Why I love Rust by steveklabnik on Friday January 08, 2016 @12:57PM (#10866753)
Swift is implemented in C++, and uses LLVM stuff that we don't because it's not exposed in the C ABI, last I heard.
Re:Why I love Rust by pcwalton on Friday January 08, 2016 @01:55PM (#10867236)
Well, sure, but how the compiler calls into libclang/LLVM isn't the difficult issue here. The more interesting issue is how, conceptually, the Swift or Rust compiler would use libclang to interoperate with C++ in a foreign environment. Once that's established, writing C bindings to whatever part of libclang is necessary should be straightforward.