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
20082026
-
…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…
comment by nindalf · 2022-07-27 · in Programming languages endorsed for server-side use at Meta -
…https://www.chromium.org/Home/chromium-security/memory-safet... https://github.com/google/autocxx
comment by ssokolow · 2022-06-08 · in Rust Is Hard, Or: The Misery of Mainstream Programming -
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++ -
…but generates cxx directives. Very clever too. It even allows owning C++ types on the stack. 1. https://github.com/google/autocxx
comment by steeve · 2022-03-10 · in CXX – safe interop between Rust and C++ -
…. 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 -
…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
comment by datalus · 2021-02-16 · in Are we game yet? – A guide to the Rust game development ecosystem -
…FFI much smoother[1]. [0] https://www.chromium.org/Home/chromium-security/memory-safet... [1] https://github.com/google/autocxx
comment by roblabla · 2020-11-28 · in AWS hires Rust compiler team co-lead Felix Klock -
…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 -
…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? -
…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…
comment by geofft · 2020-08-31 · in Supporting Linux kernel development in Rust -
…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…
comment by Rusky · 2020-08-24 · in AutoCXX: Safely call C++ from Rust with auto generated bindings