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 →
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.
-
rustc_codegen_clr
This rust compiler backend(module) emmits valid CIL (.NET IR), enabling you to use Rust in .NET projects.
-
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.
-
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.
-
ffidji
🐶 FFIDJI is a tool to automatically generate bindings between languages, like calling Rust code from C# for instance.
Project mention: Extism: Cross-language framework for building with WebAssembly | news.ycombinator.com | 2024-05-02
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 :)
Project mention: Dr.Dotnet: an open-source, low-overhead, easy to use and versatile profiler | /r/dotnet | 2023-10-19
Polishing up to my dependency / build artifact killer polykill!
Rust .NET related posts
-
Rust in .NET Projects
-
The Rust compiler backend for .NET can now compile std with (numerous) errors, and supports allocation (Box, Vec, String, etc.)
-
.NET backend for Rust now compiles 1000 functions within core.
-
Was Rust Worth It?
-
Does it still make sense to roll your own ECS?
-
Monthly 'Shameless Self Promotion' thread - 2023/03
-
ASP.NET Community Standup - Blazor United in .NET 8
-
A note from our sponsor - InfluxDB
www.influxdata.com | 24 May 2024
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