@wewbull@feddit.uk
link
fedilink
English
15
edit-2
1M

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

And that’s how you get the Thompson hack

Talking about bootstrap here?

@wewbull@feddit.uk
link
fedilink
English
21M

Indeed

davel [he/him]
link
fedilink
English
11
edit-2
1M

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

Create a post

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

Rules:

  • Posts must be relevant to programming, programmers, or computer science.
  • No NSFW content.
  • Jokes must be in good taste. No hate speech, bigotry, etc.
  • 0 users online
  • 120 users / day
  • 257 users / week
  • 744 users / month
  • 3.72K users / 6 months
  • 1 subscriber
  • 1.47K Posts
  • 32.2K Comments
  • Modlog