~/talk

Bringing Rust to .NET

Talkat RustWeek 2025 · 2025-05-13..05-17· [rust, dotnet]
slides:none on file

rustc_codegen_clr compiles Rust to .NET assemblies and presents concrete interop: Rust code holds references to .NET classes, calls virtual methods, accesses fields, constructs instances and emits CIL so the CLR treats it like unsafe C#. It runs as a rustc backend plugin with unmodified rustc, preserves layout across assemblies, and currently rejects shared generics (uses hashed type names) while experimenting with macros and compiler tricks to let Rust define net-friendly classes. Diagnostics catch common misuse.

AI-written summary · about

~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.