1065
submitted 1 year ago* (last edited 1 year 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 14 points 1 year ago* (last edited 1 year ago)

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

[-] davel@lemmy.ml 11 points 1 year ago* (last edited 1 year 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 6 points 1 year ago

Talking about bootstrap here?

[-] wewbull@feddit.uk 1 points 1 year ago
[-] Revan343@lemmy.ca 2 points 1 year ago

And that's how you get the Thompson hack

this post was submitted on 03 Aug 2024
1065 points (100.0% liked)

Programmer Humor

37508 readers
479 users here now

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

Rules:

founded 6 years ago
MODERATORS