sag@lemm.ee to Programmer Humor@lemmy.ml · edit-25 个月前Anyone here use assembly?lemm.eeimagemessage-square79fedilinkarrow-up11.12Karrow-down111cross-posted to: programmer_humor@programming.dev
arrow-up11.11Karrow-down1imageAnyone here use assembly?lemm.eesag@lemm.ee to Programmer Humor@lemmy.ml · edit-25 个月前message-square79fedilinkcross-posted to: programmer_humor@programming.dev
minus-squarewewbull@feddit.uklinkfedilinkEnglisharrow-up15·edit-25 个月前Only the most very basic compilers. C compilers are in C mainly.
minus-squaredavel [he/him]@lemmy.mllinkfedilinkEnglisharrow-up11·edit-25 个月前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
Only the most very basic compilers. C compilers are in C mainly.
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
And that’s how you get the Thompson hack