Rust .NET

Open-source Rust projects categorized as .NET

Top 6 Rust .NET 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
  • wrapped_mono

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

  • dr-dotnet

    🩺 One-click diagnosis of your dotnet applications. Works both locally or remotely as a web service. Based on the lowest level dotnet profiling APIs and using the rust language 🦀 for a minimal runtime penalty.

  • Project mention: Dr.Dotnet: an open-source, low-overhead, easy to use and versatile profiler | /r/dotnet | 2023-10-19
  • polykill

    Command line utility for removing dependencies and build artifacts from unused projects.

  • Project mention: What's everyone working on this week (23/2023)? | /r/rust | 2023-06-05

    Polishing up to my dependency / build artifact killer polykill!

  • 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 .NET related posts

  • Rust in .NET Projects

    1 project | news.ycombinator.com | 7 Feb 2024
  • 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
  • Was Rust Worth It?

    18 projects | news.ycombinator.com | 25 Oct 2023
  • Does it still make sense to roll your own ECS?

    2 projects | /r/gameenginedevs | 31 Jul 2023
  • Monthly 'Shameless Self Promotion' thread - 2023/03

    4 projects | /r/devops | 1 Mar 2023
  • ASP.NET Community Standup - Blazor United in .NET 8

    2 projects | /r/dotnet | 14 Feb 2023
  • A note from our sponsor - InfluxDB
    www.influxdata.com | 24 May 2024
    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. Learn more →

Index

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

Project Stars
1 extism 3,846
2 rustc_codegen_clr 1,104
3 wrapped_mono 67
4 dr-dotnet 67
5 polykill 9
6 ffidji 8

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