Live data from Hacker News

crustc: entirety of `rustc`, translated to C

github.com

11–20 of 99 posts

Re: crustc: entirety of `rustc`, translated to C

#13
post #7

> For the past 3 years, I have been working on compiling Rust to C. .. This is, by my count, the 14th attempt: cilly Gotta respect the dedication to a niche interest. > The primary goal of this is support for old/obscure hardware with no LLVM/GCC support. I remember reading about the bootstrapping question, how it typically requires a Rust compiler to build the Rust compiler from source. https://bootstrapping.mirahez…

So the author made a Rust to C transpiler and immediately used it to transpile... the Rust compiler. I love it.

Re: crustc: entirety of `rustc`, translated to C

#18

This could be used within https://bootstrappable.org/projects.html to make bootstrappability of rust incredibly much easier other than the previous route of OCaml and other things. I know some folks within the bootstrappable OS projects community are on Hackernews and I hope that they could take a look at this. I feel as if this project could drastically shrink down the efforts needed to get a working rust compiler i…

Not really. This C code is more like a binary and compiler artifact than a source code. So it won't match the standards of bootstrap.
Post reply on HN