2 ms·
"It's not a coincidence that Go doesn't have zero-cost interoperability with C, and Rust has (including cross-language inlining." That's more of a money issue.
by Animats 6y ago
"It's not a coincidence that Go doesn't have zero-cost interoperability with C, and Rust has (including cross-language inlining."
That's more of a money issue. Google has the resources to rewrite the lower layers in or for Go. Mozilla doesn't. Mozilla was trying to retrofit a single existing program, too.
- steveklabnik 6y agoThis is not true; it has to do with ideology. As a systems language, Rust should be able to talk to systems with no overhead. A zero-cost FFI into C is a huge part of that ability. Nowhere in https://github.com/rust-lang/rfcs/pull/230 https://github.com/rust-lang/rfcs/pull/230 is Mozilla mentioned, nor expenses.