Chandler Carruth 01e12111a8 Auto-update pre-commit repositories and fix. (#3427) %!s(int64=2) %!d(string=hai) anos
..
README.md f1e36a50ca C/C++ -> C and C++ (#2340) %!s(int64=3) %!d(string=hai) anos
philosophy_and_goals.md 01e12111a8 Auto-update pre-commit repositories and fix. (#3427) %!s(int64=2) %!d(string=hai) anos

README.md

Bidirectional interoperability with C and C++

Table of contents

Philosophy and goals

The C++ interoperability layer of Carbon allows a subset of C++ APIs to be accessed from Carbon code, and similarly a subset of Carbon APIs to be accessed from C++ code. This requires expressing one language as a subset of the other. Bridge code may be needed to map some APIs into the relevant subset, but the constraints on expressivity should be loose enough to keep the amount of such bridge code sustainable.

The interoperability philosophy and goals provide more detail.

Overview

TODO