google/comprehensive-rust
Vedi su GitHubWorth keeping android/interoperability/cpp.html and chromium/interoperability-with-cpp.html in sync?
Open
#1523 aperta il 29 nov 2023
enhancementgood first issue
Metriche repository
- Star
- (32.954 star)
- Metriche merge PR
- (Merge medio 9g 23h) (36 PR mergiate in 30 g)
Descrizione
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