Rust and C++ Interoperability

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • slint

    Slint is a declarative GUI toolkit to build native user interfaces for Rust, C++, or JavaScript apps.

  • We are developing UI in slint-rs for our product. Our eventiual target is IoT devices (cyber defense) though we are starting with desktops. We are a young startup and our experience is very limited in UI space so please take all of it with a pinch of salt.

    One of our intern got the UI working with Slint in a few days and since then we didn't feel a strong need to move away from it. We found a few missing features: it was not possible to tell if a Windows is hidden or not. We ended up sending a few patches.

    So far our experience has been pretty good with slint-ui. We are not tested the UI on OSX and Linux yet, only windows. On AWS machines with Windows server, the UI fails to launch sometimes because of some missing GL libraries. Also note the licensing of Slint-UI https://github.com/slint-ui/slint/discussions/379.

  • cppmm

    A prototype generator for creating customized C and Rust bindings to C++ libraries

  • This seems to miss `cppmm` (C++--)[1].

    This crate is currently mainly aimed at helping people from the Rust group of the Academy Software Foundation (ASWF) to make wrappers for the visual effects ecosystem of libs.[2]

    It is nevertheless very useful for all types of other cases.

    [1] https://github.com/vfx-rs/cppmm

    [2] The above just means effort is prioritized regarding the blockers these libs present due to the resp. C++ features they use.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • cxx

    Safe interop between Rust and C++

  • I have used CXX in a project where I had to use a library available only in C++. There were Python bindings but somehow they were very slow. I could have rolled out my own pybind11 but wanted some of the Rust guarantees.

    It was probably more convoluted than necessary since I also then exposed the Rust lib to Python, so C++ <=> Rust <=> Python , but it was indeed fun to implement it all.

    https://github.com/dtolnay/cxx

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Slint GUI Toolkit

    3 projects | news.ycombinator.com | 1 Feb 2024
  • Desktop GUI Is an Efficient and Fulfilling Way of Human-Computer Interaction

    1 project | news.ycombinator.com | 29 Nov 2023
  • Slint VS slint - a user suggested alternative

    2 projects | 17 Oct 2023
  • Declarative GUI for C#

    3 projects | /r/csharp | 1 Oct 2023
  • Declarative GUI for C#

    3 projects | news.ycombinator.com | 29 Sep 2023