SaaSHub helps you find the best software and product alternatives Learn more →
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.
-
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.
-
srgn
A code surgeon for precise text and code transplantation. A marriage of `tr`/`sed`, `rg` and `tree-sitter`.
-
livesplit-core
livesplit-core is a library that provides a lot of functionality for creating a speedrun timer.
-
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
-
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.
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: What is the best library to write a SCADA-like application for web? | /r/rust | 2023-12-11
Rust C# related posts
-
Rust to .NET compiler – Progress update
-
Rust in .NET Projects
-
Show HN: Srgn, AST-aware text manipulation
-
srgn: precise text and code transplantation; think tr/sed + regex + tree-sitter
-
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.
-
Does it still make sense to roll your own ECS?
-
A note from our sponsor - SaaSHub
www.saashub.com | 10 May 2024
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