ritual VS autocxx

Compare ritual vs autocxx and see what are their differences.

autocxx

Tool for safe ergonomic Rust/C++ interop driven from existing C++ headers (by google)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
ritual autocxx
6 17
1,196 2,038
0.9% 2.0%
0.0 7.7
about 1 year ago about 1 month ago
Rust Rust
Apache License 2.0 Apache License 2.0
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

ritual

Posts with mentions or reviews of ritual. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-08-09.
  • Question about including parent directory C++ files in Rust crate
    3 projects | /r/rust | 9 Aug 2022
    For your inspiration to get c++ code in a crate: https://github.com/rust-qt/examples uses ritual build https://github.com/rust-qt/ritual which integrates qt c++ stuff into the above cargo qt rust examples. I would like to highlight the todo list example. Build and run it verbosely with "--verbose --verbose".
  • CXX-Qt: safe Rust bindings for Qt
    9 projects | news.ycombinator.com | 2 Mar 2022
    It is great to see how many people want to bring Qt support to Rust and are trying to do so, and I hope that these folks succeed, but it’s wearisome to me how they each create a new project instead of working with others who are already in this problem space. Of the half-dozen or so[0] existing attempts so far to create Qt bindings to Rust, none of them have actually succeeded because they’ve either been abandoned midway or limit their support to QML. Ritual[1] is the only crate I’ve seen that attempts to actually expose the whole Qt API, but it’s pretty awful to use, incomplete, and dead.

    Rust doesn’t need more Qt crates. It needs one Qt crate that is complete and works well. (Or, ideally, a native Rust cross-platform GUI crate that works as well as Qt, but that’s an even longer and harder task.)

    [0] https://lib.rs/search?q=qt

    [1] https://github.com/rust-qt/ritual

  • Use a CPP library from Rust
    8 projects | /r/rust | 19 Dec 2021
    Just wanted to add another vote for https://github.com/rust-qt/ritual that 0OOO00000OO00O0O0OOO/ mentioned below.
  • GUI liblary for qt ?
    2 projects | /r/rust | 4 Oct 2021
    There was a QT library, rust-qt (that was officially supported I believe), the bindings being made with Ritual. There is an open issue for supporting qt6, which I'm also awaiting; https://github.com/rust-qt/ritual/issues/109.
  • Qt 6.2 LTS Released
    2 projects | /r/cpp | 30 Sep 2021

autocxx

Posts with mentions or reviews of autocxx. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-03-26.

What are some alternatives?

When comparing ritual and autocxx you can also consider the following projects:

Rust Qt Binding Generator git - Generate bindings to use Rust code in Qt and QML

cxx - Safe interop between Rust and C++

rust-bindgen - Automatically generates Rust FFI bindings to C (and some C++) libraries.

qt.rs - Qt5 binding for rust language. (stalled)

TIC-80 - TIC-80 is a fantasy computer for making, playing and sharing tiny games.

QMetaObject crate for Rust - Integrate Qml and Rust by building the QMetaObject at compile time.

gdnative - Rust bindings for Godot 3

imgui-rs - Rust bindings for Dear ImGui

carbon-lang - Carbon Language's main repository: documents, design, implementation, and related tools. (NOTE: Carbon Language is experimental; see README)

conrod - An easy-to-use, 2D GUI library written entirely in Rust.

jakt - The Jakt Programming Language