[$] Comparing Rust to Carbon

Post Syndicated from daroc original https://lwn.net/Articles/1036912/

Safe, ergonomic interoperability between Rust and C/C++ was a popular topic at

RustConf 2025
in Seattle, Washington. Chandler Carruth gave a presentation
about the different approaches to interoperability in Rust and

Carbon
, the
experimental “(C++)++” language.
His ultimate conclusion was that
while Rust’s ability to interface with other languages is expanding over time,
it wouldn’t offer a complete solution to C++ interoperability anytime soon — and so there is room for
Carbon to take a different approach to incrementally upgrading existing C++ projects.
His

slides
are available for readers wishing to study his example code in more
detail.