Hacker GitHub

← All repos

google/autocxx

View on GitHub ↗ ★ 2,563 Rust archived

Tool for safe ergonomic Rust/C++ interop driven from existing C++ headers

13 mentions on Hacker News by 13 people: 2 stories, 11 comments · first 2020-08-22 · latest 2025-02-23

Mentions per year 13 mentions · busiest year 2020 (6)
20082026
  1. ▲ 2
    Autocxx: Safely call C++ from Rust in an automated, but safe, fashion
    story by nateb2022 · 2025-02-23 · 0 comments
  2. …with C++ ( http://cxx.rs ) and ongoing research into automating this interoperability ( https://github.com/google/autocxx , https://github.com/google/crubit ). Feels like there's enough effort in all areas. I don't understand a request…
  3. …https://www.chromium.org/Home/chromium-security/memory-safet... https://github.com/google/autocxx
  4. autocxx is a companion library that provides what you're looking for. https://github.com/google/autocxx
    comment by pcwalton · 2022-03-10 · in CXX – safe interop between Rust and C++
  5. …but generates cxx directives. Very clever too. It even allows owning C++ types on the stack. 1. https://github.com/google/autocxx
  6. …. Also there are tools to automatically parse C++ headers and turn them into cxx bindings: https://github.com/google/autocxx and https://docs.rs/autocxx/
    comment by nyanpasu64 · 2021-05-06 · in The Rustonomicon
  7. …is at least trying to make it easier to bind to C++ [0]. It's still pretty experimental, though. 0: https://github.com/google/autocxx
  8. …FFI much smoother[1]. [0] https://www.chromium.org/Home/chromium-security/memory-safet... [1] https://github.com/google/autocxx
  9. …limited coverage in early stages instead of just continually improving/tweaking a generator. 0 - https://github.com/google/autocxx
    comment by kodablah · 2020-09-29 · in Rust 2021: GUI
  10. …in webapp form. Like you said, the signs are good for Rust's interop story in general. [1] https://github.com/google/autocxx
    comment by akiselev · 2020-09-20 · in Why Not Rust?
  11. …very brief mention in the article as "Google is working on automated C++ conversions"; there's also https://github.com/google/autocxx which builds on top of it. C++ is a richer language than C and has more information about ownership…
  12. …it's also relevant that autocxx is a) rather new, and b) not (yet?) an official Google project: https://github.com/google/autocxx#license-and-usage-notes . It would be unwise to blindly infer any sort of Chromium policy from it at this…
  13. ▲ 174
    AutoCXX: Safely call C++ from Rust with auto generated bindings
    story by Jarred · 2020-08-22 · 143 comments