Skip to content

Commit b2f005c

Browse files
authored
Publish interop goals (#202)
This takes #175 and publishes it as interop goals. I've made a few small editorial changes, but the main addition is the "Offer equivalent support for languages other than C++" non-goal which I thought may be useful (in particular, it can be used to clarify why this directory is "interoperability" and not "interoperability_cpp").
1 parent 58554b8 commit b2f005c

File tree

2 files changed

+475
-8
lines changed

2 files changed

+475
-8
lines changed

docs/design/interoperability/README.md

+12-8
Original file line numberDiff line numberDiff line change
@@ -10,19 +10,23 @@ SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
1010

1111
## Table of contents
1212

13-
- [TODO](#todo)
13+
- [Philsophy and goals](#philsophy-and-goals)
1414
- [Overview](#overview)
1515

1616
<!-- tocstop -->
1717

18-
## TODO
18+
## Philsophy and goals
1919

20-
This is a skeletal design, added to support [the overview](README.md). It should
21-
not be treated as accepted by the core team; rather, it is a placeholder until
22-
we have more time to examine this detail. Please feel welcome to rewrite and
23-
update as appropriate.
20+
The C++ interoperability layer of Carbon allows a subset of C++ APIs to be
21+
accessed from Carbon code, and similarly a subset of Carbon APIs to be accessed
22+
from C++ code. This requires expressing one language as a subset of the other.
23+
Bridge code may be needed to map some APIs into the relevant subset, but the
24+
constraints on expressivity should be loose enough to keep the amount of such
25+
bridge code sustainable.
26+
27+
The [interoperability philosophy and goals](philosophy_and_goals.md) provide
28+
more detail.
2429

2530
## Overview
2631

27-
See the draft in
28-
[PR 80](https://github.com/carbon-language/carbon-lang/pull/80).
32+
TODO

0 commit comments

Comments
 (0)