google/comprehensive-rust
Worth keeping android/interoperability/cpp.html and chromium/interoperability-with-cpp.html in sync?
オープン
#1,523 opened on 2023/11/29
enhancementgood first issue
Repository metrics
- Stars
- (32,954 個のスター)
- PR merge metrics
- (PR metrics pending)
説明
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