google/comprehensive-rust
GitHub で見るWorth keeping android/interoperability/cpp.html and chromium/interoperability-with-cpp.html in sync?
Open
#1,523 opened on 2023年11月29日
enhancementgood first issue
説明
Android-specific and Chromium-specific parts of the course both talk about using https://cxx.rs for C++/Rust interop. Is it worth it to somehow unify some of the content?
In particular, both introductory slides (at android/interoperability/cpp.html and chromium/interoperability-with-cpp.html) have a diagram of how cxx works, but Chromium also has additional speaker notes where it lists some benefits (over manually authoring the bindings).
PS. Some of the content will need to remain Android-specific and/or Chromium-specific:
- Error handling (Chromium disables C++ exceptions, so Android slides don't apply)
- Integration with Chromium's
gntemplates vsgenrules on Android side
/cc @adetaylor