Re:GCC Rust: GCC Front-End for Rust
by gumby on Sunday January 10, 2021 @12:09PM
(#25716760)
It's not written in rust; gcc is written in c. There is no bootstrapping involved.
[ Parent
| on HN ]
Re:GCC Rust: GCC Front-End for Rust
by NieDzejkob on Sunday January 10, 2021 @12:35PM
(#25717063)
GCC is no longer written in C, but in C++. They switched after GCC 4.7.
Of course, much of the code is still C.
Re:GCC Rust: GCC Front-End for Rust
by faitswulff on Sunday January 10, 2021 @12:22PM
(#25716916)
Do gcc languages - even low level ones - remain written in c?
The GCC Ada frontend is written in Ada:
There is also a port of the Ada frontend to LLVM backend:
Besides the Ada example, GDC shares the D frontend, written in D, with other D implementations.