Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free. Learn more →
Similar projects and alternatives to cxx
Automatically generates Rust FFI bindings to C (and some C++) libraries.
Carbon Language's main repository: documents, design, implementation, and related tools. (NOTE: Carbon Language is experimental; see README)
Access the most powerful time series database as a service. Ingest, store, & analyze all types of time series data in a fully-managed, purpose-built database. Keep data forever with low-cost storage and superior data compression.
Tool for safe ergonomic Rust/C++ interop driven from existing C++ headers
Embed C++ directly inside your rust code!
Empowering everyone to build reliable and efficient software.
A project for generating C bindings from Rust code
Infrastructure for solid modeling
Static code analysis for 29 languages.. Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.
⚛📦 Hybrid image/package system with atomic upgrades and package layering
A refreshingly simple data-driven game engine built in Rust
a multi-language bindings generator for rust
swift-bridge facilitates Rust and Swift interop.
The Swift Programming Language
Build smaller, faster, and more secure desktop applications with a web frontend.
A runtime for writing reliable asynchronous applications with Rust. Provides I/O, networking, scheduling, timers, ...
Home to the Signal Protocol as well as other cryptographic primitives which make Signal possible.
A Gecko-oriented implementation of the Encoding Standard in Rust
Rust bindings for Godot 3
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
cxx reviews and mentions
Rust on Esp32
2 projects | reddit.com/r/rust | 15 Mar 2023
Use a C interface if you can (much easier), cxx if you absolutely need C++ features.
Embedded Rust is so good
4 projects | reddit.com/r/rust | 28 Feb 2023
You can try using Cxx to interop with C++ from Rust.
In which circumstances is C++ better than Rust?
6 projects | reddit.com/r/cpp | 19 Feb 2023
Google has invested a lot of money also in https://cxx.rs/ so is not as a big deal at it should be using C++ with Rust
Fish (shell) porting to Rust from C++
9 projects | news.ycombinator.com | 30 Jan 2023
Early on, Rust’s goal was to improve Firefox, a large C++ codebase. A bunch of language design decisions were made to ensure this could work well.
However, that doesn’t mean it’s always super easy. C++ interoperated with C even more easily: just compile your code with the new compiler! With Rust, it’s more like FFI.
https://cxx.rs/ is at the forefront here.
Hey Rustaceans! Got a question? Ask here (5/2023)!
19 projects | reddit.com/r/rust | 30 Jan 2023
There's a crate with a handy guide for doing just that: https://cxx.rs/
Rust Course Holiday giveaway! Learn Rust, make games, have an adventure.
4 projects | reddit.com/r/rust_gamedev | 30 Dec 2022
It's very doable. In general, the cxx crate is your friend if you want to interoperate with C++. I haven't used it, because since I stopped using UE4 in 2018 I don't use C++, but a couple of my friends who do use C++ like cxx.
Python or C++ ?
2 projects | reddit.com/r/algotrading | 27 Dec 2022
As for Rust interop, you can use the plain C FFI both ways (which enables the interop with Python and numpy, in pyo3), but there's also been some work on interop with C++ (to limited extent, of course), see https://cxx.rs.
Buck2: preview of the Rust rewrite of Buck1, a Bazel-like build system created by Facebook
4 projects | reddit.com/r/rust | 8 Dec 2022
Does this still bypass Cargo when building Rust and call rustc directly? IMO that practice is horrible for the Rust ecosystem. It brings the chaos of C/C++ build systems to the Rust world, where developers only care about their preferred build system and make life hard for others. https://github.com/dtolnay/cxx/issues/462
Google says Rust is the key to cutting Android vulnerabilities
2 projects | reddit.com/r/rust | 6 Dec 2022
Using C libraries from Rust is straightforward with bindgen. Using C++-libraries is less so, but should be doable using cxx. Fortunately, I haven't had a need for that myself, so I can't say how much of a hassle it is.
Memory Safe Languages in Android 13
7 projects | news.ycombinator.com | 1 Dec 2022
Brave Browser has some Rust components too (e.g. the adblocking engine). Rust in C++ works very well for components with a small, well-defined API surface that involve a lot of logic. You only need to build a small FFI layer for the direct interfaces between the two languages. CXX  makes this even easier, too.
Brave is definitely not aiming to convert the entire browser to Rust, but it's increasingly chosen for new development.
A note from our sponsor - SonarQube
www.sonarqube.org | 23 Mar 2023
dtolnay/cxx is an open source project licensed under Apache License 2.0 which is an OSI approved license.