rustc_codegen_clr

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

Rustc_codegen_clr Alternatives

Similar projects and alternatives to rustc_codegen_clr

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better rustc_codegen_clr alternative or higher similarity.

rustc_codegen_clr reviews and mentions

Posts with mentions or reviews of rustc_codegen_clr. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-02-07.
  • Rust in .NET Projects
    1 project | news.ycombinator.com | 7 Feb 2024
  • RustPython
    14 projects | 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
    After adding support for statics and many bug fixes related to pointers/slices, my compiler backend targeting .NET can finally build a barely working version of the standard library. It can be loaded into the .NET runtime, allocate memory (e.g. for a Box, Vec or String), push elements to Vec's and String's (currently without relocations). There are also some other parts of the standard library that already work, but I want to stress that the project is still fairly early into development (I started working on it late August), and you should expect most things in std to not work at all. Things working is the exception, not the rule. This newest set of commits allows you to use a small subset of the standard library, within code running inside the .NET runtime. | Here is some Rust code that I wrote to demo the ability to use the Rust std within the .NET runtime:
  • .NET backend for Rust now compiles 1000 functions within core.
    1 project | /r/rust | 29 Nov 2023
    This is a small update about my rustc backend, which is supposed to allow compilation of Rust code into .NET assemblies. This would allow you to use Rust crates in C#, and C# libraries in Rust.
  • Need help modeling some type constraints
    1 project | /r/rust | 19 Oct 2023
    I am currently working on a rust codegen targeting .NET. One of the features I currently work on is a .NET interop layer, mycorrhiza, and I am having some trouble modeling certain type constraints. There are 2 ways to store a reference to a GC type in Rust: 1. By a handle - this type has some cost associated with it, but can be stored anywhere (heap, stack). 2. By a raw reference - raw references may only live on the stack. They can be copied, and behave almost exactly like a normal rust type (with exceptions related to transmutes and enums), as long as they are stored on the stack.
  • A note from our sponsor - InfluxDB
    www.influxdata.com | 1 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 →

Stats

Basic rustc_codegen_clr repo stats
5
975
9.7
6 days ago

FractalFir/rustc_codegen_clr is an open source project licensed under MIT License which is an OSI approved license.

The primary programming language of rustc_codegen_clr is Rust.


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