this post was submitted on 03 Aug 2024
1104 points (99.1% liked)

Programmer Humor

32472 readers
627 users here now

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

Rules:

founded 5 years ago
MODERATORS
1104
submitted 3 months ago* (last edited 3 months ago) by sag@lemm.ee to c/programmerhumor@lemmy.ml
 
you are viewing a single comment's thread
view the rest of the comments
[–] wewbull@feddit.uk 15 points 3 months ago* (last edited 3 months ago) (3 children)

Only the most very basic compilers. C compilers are in C mainly.

[–] davel@lemmy.ml 11 points 3 months ago* (last edited 3 months ago)

Not the first C compiler obviously. According to this Stack Overflow post, BCPL* begat B, which begat C. Language self-hosting is pretty fascinating.

*Perhaps BCPL was originally written in assembly; I’m not certain: https://github.com/SergeGris/BCPL-compiler

[–] ulterno@lemmy.kde.social 8 points 3 months ago (1 children)

Talking about bootstrap here?

[–] wewbull@feddit.uk 2 points 3 months ago
[–] Revan343@lemmy.ca 2 points 3 months ago

And that's how you get the Thompson hack