this post was submitted on 26 Jun 2023
290 points (98.0% liked)

Programmer Humor

32042 readers
1196 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] cdnalsi 4 points 1 year ago (2 children)

Compilers are built using compilers?

[–] [email protected] 15 points 1 year ago (1 children)

Yup, C is written in C. You bootstrap using a compiler written in another language until your language is complete enough to write its own compiler.

[–] [email protected] 4 points 1 year ago

Alright, that's kinda crazy lol.

[–] [email protected] 3 points 1 year ago

gcc and clang are open source, you can read their source code whenever you want!