Hacker News new | ask | show | jobs
by Barrera 1429 days ago
From the README:

> Interoperate with your existing C++ code, from inheritance to templates

Somewhere in the docs (can't remember where) is a link to a Rust/C++ interop project sponsored by Google, Crubit:

https://github.com/google/crubit/blob/main/docs/design.md

In case it's not clear, Carbon is also at the moment a Google project.

There's not much in the Crubit README (although there is a warning not to use it), but the docs directory has some interesting stuff:

> The primary goal of C++/Rust interop tooling is to enable Rust to be used side-by-side with C++ in large existing codebases.

https://github.com/google/crubit/blob/main/docs/design.md

It's not entirely clear whether this interop is to work as envisioned for Carbon (source level?) or some other approach.