111
submitted 3 months ago by thomask to c/rust@programming.dev
you are viewing a single comment's thread
view the rest of the comments
[-] underscores@lemmy.dbzer0.com 30 points 3 months ago* (last edited 1 week ago)

The main thing is that TinyCC has already been bootstrapped.

Check out this page on bootstrappable.org. Basically they start with a 200 something byte binary (hex0) that can act as an assembler, then using a bunch of layers of tools and compilers you can bootstrap a whole system. I think they use stage0 to build M2-Planet, use that to build GNU Mes, and use that to build TinyCC.

So a project like this fits neatly into that bootstrapping path. It could be done other ways, but starting from a fairly complete C compiler makes it a lot easier than building an entire path from scratch.

this post was submitted on 25 Aug 2024
111 points (97.4% liked)

Rust

6046 readers
74 users here now

Welcome to the Rust community! This is a place to discuss about the Rust programming language.

Wormhole

!performance@programming.dev

Credits

  • The icon is a modified version of the official rust logo (changing the colors to a gradient and black background)

founded 1 year ago
MODERATORS