Microsoft doubles down on Rust

1 points by mempko


regalialong

See also this discussion

ssokolow

One key to delivering production-grade Windows software with Rust is a new code generation tool for Rust’s compiler, rustc. rustc is designed to use different code-generation back ends, beyond the default LLVM. There are already variants that work with GCC and with Cranelift. If you’ve not come across Cranelift, it’s the code generator of the Bytecode Alliance, used as part of the wasmtime framework. Adding a new code generator is a matter of building a tool that connects to the Rust compiler’s APIs, takes its bytecode output, generates native code, and passes it on to your choice of build pipeline.

*facepalm*

Way to mislead people by conflating the completion status of the various code generators and conflating bytecode with IR.

jcspencer

Relevant rustc-codegen-utc discussion in Rust Zulip