google/comprehensive-rust
Worth keeping android/interoperability/cpp.html and chromium/interoperability-with-cpp.html in sync?
开放
#1,523 创建于 2023年11月29日
enhancementgood first issue
仓库指标
- 星标
- (32,954 个星标)
- PR 合并指标
- (PR 指标待抓取)
描述
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