sag to Programmer Humor@lemmy.ml • edit-29 months agoAnyone here use assembly?lemm.eeimagemessage-square83fedilinkarrow-up11arrow-down10cross-posted to: programmer_humor@programming.dev
arrow-up11arrow-down1imageAnyone here use assembly?lemm.eesag to Programmer Humor@lemmy.ml • edit-29 months agomessage-square83fedilinkcross-posted to: programmer_humor@programming.dev
minus-square@wewbull@feddit.uklinkfedilinkEnglish0•edit-29 months agoOnly the most very basic compilers. C compilers are in C mainly.
minus-square@davel@lemmy.mllinkfedilinkEnglish0•edit-29 months agoNot 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
Only the most very basic compilers. C compilers are in C mainly.
And that’s how you get the Thompson hack
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
Talking about bootstrap here?
Indeed