|
1 |
| -# Evaluate approaches for seamless use of C++ APIs from Rust |
| 1 | +# Evaluate approaches for seamless interop between C++ and Rust |
2 | 2 |
|
3 |
| -| Metadata | | |
4 |
| -|----------|-----------------------| |
5 |
| -| Owner(s) | @baumanj and @tmandry | |
6 |
| -| Teams | [lang] [compiler] | |
7 |
| -| Status | Proposed | |
| 3 | +| Metadata | | |
| 4 | +| -------- | ---------------------------- | |
| 5 | +| Owner(s) | @baumanj and @tmandry | |
| 6 | +| Teams | [lang] [compiler] [libs-api] | |
| 7 | +| Status | Proposed | |
8 | 8 |
|
9 | 9 | ## Summary
|
10 | 10 |
|
@@ -78,7 +78,13 @@ These mismatches point to the limitations of such approaches. If we attempt to s
|
78 | 78 |
|
79 | 79 | ### The next 6 months
|
80 | 80 |
|
81 |
| -We do not propose any specific deliverables over the next six months. We only propose a discussion with the language and compiler teams that takes a serious look at the problem space and what it would take to solve it. This discussion should incorporate lessons from existing projects and lay the foundation for future explorations and engagements. |
| 81 | +We do not propose any specific deliverables over the next six months. We only propose a discussion with the Language, Compiler, and Libs-API teams that takes a serious look at the problem space and what it would take to solve it. This discussion should incorporate lessons from existing projects and lay the foundation for future explorations and engagements. |
| 82 | + |
| 83 | +Possible discussion topics include: |
| 84 | + |
| 85 | +* Coverage of rich C++ APIs, including those that make use of language features like templates, (partial) specialization, and argument-dependent lookup. (Lang + Compiler) |
| 86 | +* Seamless use of "vocabulary types" like strings, vectors, and hashmaps, including the various kinds of conversions in source and at the ABI level. (Lang + Libs-API) |
| 87 | +* A standard IDL for describing a Rust API/ABI that can be produced by the Rust compiler. (Lang + Compiler) |
82 | 88 |
|
83 | 89 | ### The "shiny future" we are working towards
|
84 | 90 |
|
@@ -110,12 +116,13 @@ In addition, it proposes the following axioms:
|
110 | 116 |
|
111 | 117 | **Owner:** @baumanj and @tmandry
|
112 | 118 |
|
113 |
| -| Task | Owner(s) or team(s) | Notes | |
114 |
| -| ---------------------------- | --------------------------- | ------------------------------------------------------------------------ | |
115 |
| -| Discussion and moral support | ![Team][] [lang] [compiler] | | |
116 |
| -| Design meeting | ![Team][] [lang] [compiler] | 2 meetings expected; ideal audience is lang team with compiler team reps | |
117 |
| -| Author design doc | @tmandry can drive | | |
118 |
| -| Author design doc | ![Help wanted][] | | |
| 119 | +| Task | Owner(s) or team(s) | Notes | |
| 120 | +| ---------------------------- | -------------------------------------- | --------------------------------------- | |
| 121 | +| Discussion and moral support | ![Team][] [lang] [compiler] [libs-api] | | |
| 122 | +| Design meeting | ![Team][] [lang] [compiler] [libs-api] | 2-3 meetings expected; all involve lang | |
| 123 | +| Author design doc | @tmandry can drive | | |
| 124 | +| Author design doc | ![Help wanted][] | | |
| 125 | +| Author design doc | ![Help wanted][] | | |
119 | 126 |
|
120 | 127 | ## Frequently asked questions
|
121 | 128 |
|
|
0 commit comments