Rust C

Open-source Rust projects categorized as C

Top 23 Rust C Projects

  • tree-sitter

    An incremental parsing system for programming tools

    Project mention: An incremental parsing system for programming tools | news.ycombinator.com | 2023-05-27
  • Azul

    Desktop GUI Framework

    Project mention: Servo, the parallel browser engine written in Rust | news.ycombinator.com | 2023-05-27

    I'd been wanting to see this, preferably with JS being optional, and just allowing direct DOM access.

    I initially thought this was what Azul was, but it's only just using Servo's WebRender compositor, and rolls its own CSS parser, DOM, and layout engine, so it doesn't benefit from most of the work done on Servo, and supports less CSS features.

    https://github.com/fschutt/azul

  • Mergify

    Tired of breaking your main and manually rebasing outdated pull requests?. Managing outdated pull requests is time-consuming. Mergify's Merge Queue automates your pull request management & merging. It's fully integrated to GitHub & coordinated with any CI. Start focusing on code. Try Mergify for free.

  • extism

    The framework for building with WebAssembly (wasm). Easily load wasm modules, move data, call functions, and build extensible apps.

    Project mention: Val, a high-level systems programming language | news.ycombinator.com | 2023-07-18

    No longer does Wasm/WASI need JS host! There are many spec-compliant runtimes built for environments from tiny embedded systems up to beefy arm/x86 racks:

    - https://github.com/bytecodealliance/wasm-micro-runtime

    - https://github.com/bytecodealliance/wasmtime

    - https://github.com/wasmerio/wasmer

    - https://github.com/tetratelabs/wazero

    - https://github.com/extism/extism (disclaimer, my company's project - makes wasm easily embeddable into 16+ programming languages!)

  • cbindgen

    A project for generating C bindings from Rust code

    Project mention: Nim v2.0 Released | news.ycombinator.com | 2023-08-01

    As a 2-step approach, you could also probably use https://github.com/mozilla/cbindgen and then Nim's native C FFI.

  • dssim

    Image similarity comparison simulating human perception (multiscale SSIM in Rust)

  • hypercube

    HyperCube is a revolutionary, high-performance decentralized computing platform. HyperCube has powerful computing capabilities to provide high-performance computing power and large-scale data storage support for VR, AR, Metaverse, Artificial Intelligence, Big Data, and Financial Applications.🛰

  • flapigen-rs

    Tool for connecting programs or libraries written in Rust with other languages

  • InfluxDB

    Collect and Analyze Billions of Data Points in Real Time. Manage all types of time series data in a single, purpose-built database. Run at any scale in any environment in the cloud, on-premises, or at the edge.

  • oakc

    A portable programming language with a compact intermediate representation

  • interoptopus

    The polyglot bindings generator for your library (C#, C, Python, …) 🐙

    Project mention: Python Developer Seeking Input: Is it Worth Learning Rust for FFI? | /r/rust | 2023-02-21

    You may want to look at Interpotopus.

  • embed-c

    Embed C code at compile time inside Rust using C2Rust

    Project mention: When Zig is safer and faster than Rust | news.ycombinator.com | 2023-03-07

    This one runs the C code as a program, so the code doesn't really communicate. I made a proof of concept some time ago of a macro that really translates C to Rust at compile time: https://github.com/zdimension/embed-c

  • rusty-cheddar

    A Rust crate for automatically generating C header files from Rust source file.

  • livesplit-core

    livesplit-core is a library that provides a lot of functionality for creating a speedrun timer.

    Project mention: Does LiveSplit just suck in horizontal mode or am I genuinely doing something incorrectly? | /r/speedrun | 2023-02-28

    You could make your own livesplit-core frontend if you really are going to go for that route https://github.com/LiveSplit/livesplit-core

  • lang-c

    Lightweight C parser for Rust

    Project mention: Cranelift's Instruction Selector DSL, ISLE: Term-Rewriting Made Practical | /r/rust | 2023-01-21

    Hey if the parsing was the annoying part, how about this? https://github.com/vickenty/lang-c

  • cpplumber

    Static analysis tool based on clang, which detects source-to-binary information leaks in C and C++ projects

    Project mention: Cpplumber 0.1.0 - Static analysis tool based on clang, which detects source-to-binary information leaks in C and C++ projects. | /r/netsec | 2022-09-25
  • java-2-times-faster-than-c

    An inquiry into nondogmatic software development. An experiment showing double performance of the code running on JVM comparing to equivalent native C code.

    Project mention: "Clean" Code, Horrible Performance | /r/programming | 2023-02-28

    As far as the absolute performance you have this sort of effect too. https://github.com/xemantic/java-2-times-faster-than-c

  • chronos

    a terminal-based speedrun timer using https://github.com/livesplit/livesplit-core (by DarkRTA)

  • cffi

    Safe* C foreign function interface for Rust, using proc macros and marshaling types. (by cffi-rs)

  • modality-probe

    A distributed causal tracing probe suitable for embedded systems.

  • GameOfLife

    Game of Life (2d cellular automata described by John Conway) in C, C++, Javascript, Python, Rust (plain Rust and with GGEZ), and Java (plain Java and with libgdx) (by LelsersLasers)

  • ChatUDP

    A UDP based group chat app written in Rust ⚡

    Project mention: ⚡ TCP Chat: Simple, quick and lightweight chat built over TCP and Rust | /r/rust | 2023-05-27

    I built one with UDP: https://github.com/pavi2410/ChatUDP

  • Blackboard

    A Build tool for C (by LemonjamesD)

    Project mention: Blackboard: A build tool for C | /r/rust | 2022-10-05
  • elitetoc

    elite -> c converter *experimental

  • rust-bindgen

    THIS CRATE IS DEPRECATED, please use https://github.com/servo/rust-bindgen. (by Yamakaky)

    Project mention: In which circumstances is C++ better than Rust? | /r/cpp | 2023-02-19

    But Rust has their "library" to create the wrapper bindings https://crates.io/crates/bindgen and it does a more than decent job, it will struggle with some C++ things but 99% of the time it can do it alone

  • SonarQube

    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.

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 2023-08-01.

Rust C related posts

Index

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

Project Stars
1 tree-sitter 13,187
2 Azul 5,621
3 extism 2,593
4 cbindgen 1,958
5 dssim 966
6 hypercube 965
7 flapigen-rs 728
8 oakc 699
9 interoptopus 240
10 embed-c 214
11 rusty-cheddar 191
12 livesplit-core 187
13 lang-c 160
14 cpplumber 77
15 java-2-times-faster-than-c 51
16 chronos 16
17 cffi 15
18 modality-probe 8
19 GameOfLife 4
20 ChatUDP 2
21 Blackboard 1
22 elitetoc 1
23 rust-bindgen 1
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.
www.sonarqube.org