Rust C#

Open-source Rust projects categorized as C#

Top 9 Rust C# Projects

  • extism

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

  • Project mention: Extism: Cross-language framework for building with WebAssembly | news.ycombinator.com | 2024-05-02
  • rustc_codegen_clr

    This rust compiler backend(module) emmits valid CIL (.NET IR), enabling you to use Rust in .NET projects.

  • Project mention: The search for easier safe systems programming | news.ycombinator.com | 2024-05-08

    I don't have something that could be of Crafting Interpreters level on hand, but the general suggestion given to this question on DotNetEvolution discord by Roslyn team members was to start with the spec itself: https://ecma-international.org/publications-and-standards/st...

    This might be a bit of a learning curve if you don't have experience with writing compilers like that though.

    There are other materials that might prove useful should you go down this path:

    - A series of blog posts of a student who is writing a Rust to .NET compiler which you could follow along: https://fractalfir.github.io/generated_html/home.html The project itself: https://github.com/FractalFir/rustc_codegen_clr

    - A video series on writing a compiler for .NET from scratch: https://www.youtube.com/watch?v=wgHIkdUQbp0&list=PLRAdsfhKI4... Notes: https://github.com/terrajobst/minsk/tree/master/docs

    As for CLR via C#, while it has certain facts that remained the same, the ecosystem has changed a lot since then, you really want to target the latest LTS to get best experience and performance.

    p.s.: if it's any consolation, the promise in CLR via C# of JIT having the advantage of dynamically profiling code execution and compiling to profile-guided version, tuned to the exact hardware and environment is finally fulfilled, many years later :)

  • 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
  • srgn

    A code surgeon for precise text and code transplantation. A marriage of `tr`/`sed`, `rg` and `tree-sitter`.

  • Project mention: Show HN: Srgn, AST-aware text manipulation | news.ycombinator.com | 2024-01-27
  • interoptopus

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

  • livesplit-core

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

  • rodbus

    Rust implementation of Modbus with idiomatic bindings for C, C++, .NET, and Java

  • Project mention: What is the best library to write a SCADA-like application for web? | /r/rust | 2023-12-11
  • wrapped_mono

    Wrapper around mono library. Allows easy loading and interop between code written for the .NET framework and Rust.

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  • frame_transpiler

    Frame is a markdown language for creating state machines (automata) in 8 programming languages as well as generating UML documentation.

  • ffidji

    🐶 FFIDJI is a tool to automatically generate bindings between languages, like calling Rust code from C# for instance.

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).

Rust C# related posts

  • Rust to .NET compiler – Progress update

    2 projects | news.ycombinator.com | 3 May 2024
  • Rust in .NET Projects

    1 project | news.ycombinator.com | 7 Feb 2024
  • Show HN: Srgn, AST-aware text manipulation

    1 project | news.ycombinator.com | 27 Jan 2024
  • srgn: precise text and code transplantation; think tr/sed + regex + tree-sitter

    1 project | /r/commandline | 10 Dec 2023
  • The Rust compiler backend for .NET can now compile std with (numerous) errors, and supports allocation (Box, Vec, String, etc.)

    1 project | /r/rust | 7 Dec 2023
  • .NET backend for Rust now compiles 1000 functions within core.

    1 project | /r/rust | 29 Nov 2023
  • Does it still make sense to roll your own ECS?

    2 projects | /r/gameenginedevs | 31 Jul 2023
  • A note from our sponsor - SaaSHub
    www.saashub.com | 10 May 2024
    SaaSHub helps you find the best software and product alternatives Learn more →

Index

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

Project Stars
1 extism 3,812
2 rustc_codegen_clr 1,026
3 srgn 395
4 interoptopus 288
5 livesplit-core 208
6 rodbus 77
7 wrapped_mono 68
8 frame_transpiler 38
9 ffidji 8

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com