Our great sponsors
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
Mustang is one way to take care of the tiny amount of "C" that runs before main().
It is already https://github.com/rust-lang/rust
The libc crate exposes system C APIs in Rust code, and is used by the compiler and standard library. It also does not contain any C code. See for yourself.
Cranelift is a pure-rust alternative to the LLVM or GCC codegen. It's not aiming for the same runtime performance as those (that would take stupidly long just to replicate what LLVM/GCC already do), but it compiles much faster, making it great for debug builds.
Then again, maybe you're right, asm counts as rust, just like C/C++, python, spirv, visual basic, shell, and lua :)
The rustix project claims to use raw syscalls (and vDSO calls) on linux and provides more memory / type safety compared to the libc API.