Skip to content

Conversation

@bricknerb
Copy link
Contributor

@bricknerb bricknerb commented Oct 21, 2025

This proposal details the mechanism for calling imported C++ functions from
Carbon code. It covers how C++ overload sets are handled, the process of
overload resolution leveraging Clang, and the generation of "thunks" –
intermediate functions – when necessary to bridge Application Binary Interface
(ABI) differences between Carbon and C++.

@bricknerb bricknerb added proposal A proposal proposal draft Proposal in draft, not ready for review labels Oct 21, 2025
@bricknerb bricknerb force-pushed the proposal-calling-c++-function branch from a67dc02 to 078bf5b Compare October 21, 2025 09:26
This proposal details the mechanism for calling imported C++ functions from Carbon code. It covers how C++ overload sets are handled, the process of overload resolution leveraging Clang, and the generation of "thunks" – intermediate functions – when necessary to bridge Application Binary Interface (ABI) differences between Carbon and C++.
@bricknerb bricknerb marked this pull request as ready for review October 24, 2025 08:54
@bricknerb bricknerb requested a review from a team as a code owner October 24, 2025 08:54
@bricknerb bricknerb requested review from KateGregory and removed request for a team October 24, 2025 08:54
@github-actions github-actions bot added proposal rfc Proposal with request-for-comment sent out and removed proposal draft Proposal in draft, not ready for review labels Oct 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

proposal rfc Proposal with request-for-comment sent out proposal A proposal

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant