22
Interoperability
“No man is an island, entire of itself; every man is a piece of the continent, a part of the main” is a renowned adage from English poet John Donne. It also applies to most programming languages, especially system programming languages, including Rust.
At times, Rust needs to communicate with applications and libraries written with other programming languages. This includes the ability to call operating system APIs. Even though crates.io and the Rust ecosystem offer a lot of capabilities, there are occasions when more is needed. This means you may need to leave the comfort of Rust, on occasion, to interface with another programming language or the operating environment itself. Interoperability provides the ability to communicate ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access