4 ms·
> C itself is a pretty poor language at covering what it actually covers. C's job is to be the first thing ported to a new architecture, allow you to bootstrap
by ByteJockey 5y ago
> C itself is a pretty poor language at covering what it actually covers.
C's job is to be the first thing ported to a new architecture, allow you to bootstrap a system, and build on top of it (last 2 steps optional if you're working on some sort of embedded system).
And, frankly, it's reasonably good at that. Writing a simple C compiler is trivial compared to something like rust.
- quotemstr 5y agoYou don't have to write a Rust compiler. You have to write an LLVM codegen backend. Is it that hard to do?
- ByteJockey 5y agoDepends on how exotic of an architecture we're talking about.