C++ Rust

Open-source C++ projects categorized as Rust

Top 23 C++ Rust Projects

  • FlatBuffers

    FlatBuffers: Memory Efficient Serialization Library

    Project mention: FlatBuffers – an efficient cross platform serialization library for many langs | news.ycombinator.com | 2023-09-18
  • mediasoup

    Cutting Edge WebRTC Video Conferencing

    Project mention: WebRTC for the Curious | news.ycombinator.com | 2024-01-04
  • JetBrains Dev Survey

    What’s up with the C++ ecosystem in 2023? JetBrains Developer Ecosystem Survey 2023 has given us many interesting insights. The Embedded (37%) and Games (39%) industries are already working with C++20, developers are incorporating static analysis in their CI, and ChatGPT usage among coders is flourishing. Read on for more!

  • faust

    Functional programming language for signal processing and sound synthesis (by grame-cncm)

    Project mention: My Sixth Year as a Bootstrapped Founder | news.ycombinator.com | 2024-02-16

    Glicol looks very cool! Also check out Faust if you haven't (https://faust.grame.fr), another FP sound programming language.

  • wasm-fizzbuzz

    WebAssembly from Scratch: From FizzBuzz to DooM.

  • risc0

    RISC Zero is a zero-knowledge verifiable general computing platform based on zk-STARKs and the RISC-V microarchitecture.

    Project mention: The Cairo Programming Language | news.ycombinator.com | 2023-05-03

    You can actually write zkps in pure Rust, but there's not currently any blockchain integration: https://github.com/risc0/risc0

  • ProDBG

    Debugging the way it's meant to be done

  • Elevator

    UAC bypass by abusing RPC and debug objects. (by Kudaes)

  • Onboard AI

    ChatGPT with full context of any GitHub repo. Onboard AI learns any GitHub repo in minutes and lets you chat with it to locate functionality, understand different parts, and generate new code. Use it for free at app.getonboardai.com.

  • SimpleBLE

    SimpleBLE - the all-in-one Bluetooth library that makes it easy to add wireless connectivity to your projects. With support for MacOS, iOS, Windows, and Linux, SimpleBLE has you covered no matter what platform you're working on. Give it a try and say goodbye to Bluetooth headaches!

    Project mention: bleak VS SimpleBLE - a user suggested alternative | libhunt.com/r/bleak | 2023-07-03

    BLE library for python without asyncio

  • swapview-rosetta

    Print swap usage per process. Implemented in various programming languages

  • ja2-stracciatella

    The continuation of the venerable JA2-Stracciatella project.

  • Cerberus

    A C++ tool to unstrip Rust/Go binaries (ELF and PE) (by h311d1n3r)

    Project mention: Cerberus: A C++ tool to unstrip Rust/Go binaries (ELF and PE) | /r/blueteamsec | 2023-09-24
  • sleighcraft

    sleigh craft!

  • fizzy

    Fizzy aims to be a fast, deterministic, and pedantic WebAssembly interpreter written in C++. (by wasmx)

    Project mention: wasmer VS fizzy - a user suggested alternative | libhunt.com/r/wasmer | 2023-03-14
  • libfuzzer

    Rust bindings and utilities for LLVM’s libFuzzer (by rust-fuzz)

  • json-benchmark

    nativejson-benchmark in Rust

    Project mention: Do You Know How Much Your Computer Can Do in a Second? | news.ycombinator.com | 2023-06-22

    I don’t really understand what this is trying to prove:

    - you don’t seem to specify the size of the input. This is the most important omission

    - you are constructing an optimised representation (in this case, strict with fields in the right places) instead of a generic ‘dumb’ representation that is more like a tree of python dicts

    - rust is not a ‘moderately fast language’ imo (though this is not a very important point. It’s more about how optimised the parser is, and I suspect that serde_json is written in an optimised way, but I didn’t look very hard).

    I found[1], which gives serde_json to a dom 300-400MB/s on a somewhat old laptop cpu. A simpler implementation runs at 100-200, a very optimised implementation gets 400-800. But I don’t think this does that much to confirm what I said in the comment you replied to. The numbers for simd json are a bit lower than I expected (maybe due to the ‘dom’ part). I think my 50MB/a number was probably a bit off but maybe the python implementation converts json to some C object and then converts that C object to python objects. That might half your throughput (my guess is that this is what the ‘strict parse’ case for rustc_serialise is roughly doing).

    [1] https://github.com/serde-rs/json-benchmark

  • Elo-MMR

    Skill estimation systems for multiplayer competitions

    Project mention: What ranking/rating system can I use for a highly chance based game? | /r/learnmath | 2023-03-30
  • firebuild

    Automatic build accelerator cache for Linux (by firebuild)

    Project mention: More than 10x faster Rust + Cargo builds with Firebuild cache | /r/rust | 2023-04-27

    It is true that the license is not OSI-approved, but it allows redistributing, studying and modifying the source as discussed in the Debian packaging intent. As the license states it is free for non-commercial use and commercial use requires a paid license to fund development. It is also free for public GitHub repositories, even for commercial projects: https://github.com/apps/firebuild.

  • OculusLinkLinux

    OLL(WIP) is a open-source project that aims to allow the Oculus Quest(both 1 & 2) work on Linux wired.

  • bomberland

    Bomberland: a multi-agent AI competition based on Bomberman. This repository contains both starter / hello world kits + the engine source code

  • c-questdb-client

    Rust, C and C++ client for QuestDB InfluxDB Line Protocol over TCP

    Project mention: Inserting 1.8M Rows/S from Pandas into QuestDB with Arrow, Rust and Cython | news.ycombinator.com | 2023-03-09

    Hi, I'm the original author of the QuestDB Python client library and benchmark.

    It all started when we had one of our users needing to insert quite a bit of data into our database quickly from Pandas. They had a dataframe that took 25 minutes to serialize row-by-row iterating through the dataframe. The culprit was .iterrows(). Now it's a handful of seconds.

    This took a few iterations: At first I thought this could all be handled by Python buffer protocol, but that turned out to create a whole bunch of copies, so for a number of dtypes the code now uses Arrow when it's zero-copy.

    The main code is in Cython (and the fact that one can inspect the generated C is pretty neat) with supporting code in Rust. The main serialization logic is in Rust and it's in a separate repo: https://github.com/questdb/c-questdb-client/tree/main/questd....

  • fsfilter-rs

    Experimental: A rust library to monitor filesystem 🪛 and more in windows

  • cpk

    Light and fast package manager on C/C++ for C/C++/Python/Rust/Js packages

  • cpp_traits

    rust-like traits (type erasure) on plain C++

    Project mention: rust-like traits on plain C++ with short macro (type erasure actually) | /r/cpp | 2023-04-07
  • WorkOS

    The modern API for authentication & user identity. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2024-02-16.

C++ Rust related posts


What are some of the best open-source Rust projects in C++? This list will help you:

Project Stars
1 FlatBuffers 21,773
2 mediasoup 5,776
3 faust 2,367
4 wasm-fizzbuzz 1,454
5 risc0 1,277
6 ProDBG 512
7 Elevator 509
8 SimpleBLE 494
9 swapview-rosetta 489
10 ja2-stracciatella 437
11 Cerberus 267
12 sleighcraft 245
13 fizzy 206
14 libfuzzer 189
15 json-benchmark 160
16 Elo-MMR 151
17 firebuild 117
18 OculusLinkLinux 100
19 bomberland 98
20 c-questdb-client 37
21 fsfilter-rs 32
22 cpk 17
23 cpp_traits 14
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.