4 ms·
You can expose a C ABI, and so it’s a drop-in replacement for things that used to talk to C code. Which is virtually everything.
by steveklabnik 5y ago
You can expose a C ABI, and so it’s a drop-in replacement for things that used to talk to C code. Which is virtually everything.
- olliej 5y agonot on Mac/I/watch/tvOS where much of the core platform API is objective-c (Which swift has first class support for), and C++ (because of poor 90s decisions). But also missing the point that you can't implement a subclass or what have you in rust, and if every interface you have is C then you have an exercise in mass unsafe code.
- steveklabnik 5y agoBoth Objective C and C++ can call things that use the C ABI. Rust code ships in real products on those platforms.