Mycorrhiza - Rust/.NET interop layer
Mycorrhiza is a part of the rustc_codegen_clr
project, and it is responsible for allowing Rust code to call .NET functions and facilitates interacting with managed objects. In the future, it will include an inter-op guide, and some safe abstractions, to help with development of Rust applications targeting .NET.
It is heavily WIP, and not yet recommended for general use.
Examples:
Hello World using StringBuilder and Console:
let sb = empty;
sb.append_char;
sb.append_char;
sb.append_char;
sb.append_char;
sb.append_char;
sb.append_char;
sb.append_char;
sb.append_char;
sb.append_char;
sb.append_char;
sb.append_char;
sb.append_char;
sb.append_char;
sb.append_char;
let mstr = sb.to_mstring;
writeln_string;