Hacker News new | ask | show | jobs
by ratww 2089 days ago
I thought it was pretty common?

If you use the C ABI you can just link a bunch of object files together.

Rust people are doing it a lot for graphics/game stuff, and there's lots of production MacOS apps mixing ObjC/Swift (because they're transitioning), or consuming C/C++. Of course in this case it's mostly Xcode doing the magic, but behind the scenes it's just calling clang.