ritual VS rust-bindgen

Compare ritual vs rust-bindgen and see what are their differences.

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
ritual rust-bindgen
6 50
1,196 4,088
0.9% 2.6%
0.0 9.0
about 1 year ago about 13 hours ago
Rust Rust
Apache License 2.0 BSD 3-clause "New" or "Revised" License
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

rust-bindgen

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

What are some alternatives?

When comparing ritual and rust-bindgen you can also consider the following projects:

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

Introducing .NET Multi-platform App UI (MAUI) - .NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.

cxx - Safe interop between Rust and C++

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

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

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

JNA - Java Native Access

imgui-rs - Rust bindings for Dear ImGui

vulkano - Safe and rich Rust wrapper around the Vulkan API

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

CC - A small, usability-oriented generic container library.