2 ms·
One design constraint of Rust was to be able to be incrementally included in a large C++ codebase: Firefox. It turns out that this kind of interop with C++ dir
by steveklabnik 1y ago
One design constraint of Rust was to be able to be incrementally included in a large C++ codebase: Firefox.
It turns out that this kind of interop with C++ directly is extremely difficult, and so it isn’t super smooth right now. Interop with C was prioritized and you get zero overhead there. And various projects ease Rust <-> C++ via the C ABI.