SagXD@lemm.ee to Programmer Humor@lemmy.ml · edit-23 months agoAnyone here use assembly?lemm.eeimagemessage-square82fedilinkarrow-up11.06Karrow-down111
arrow-up11.05Karrow-down1imageAnyone here use assembly?lemm.eeSagXD@lemm.ee to Programmer Humor@lemmy.ml · edit-23 months agomessage-square82fedilink
minus-squarewewbull@feddit.uklinkfedilinkEnglisharrow-up13·edit-23 months agoOnly the most very basic compilers. C compilers are in C mainly.
minus-squaredavel [he/him]@lemmy.mllinkfedilinkEnglisharrow-up11·edit-23 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
minus-squareulterno@lemmy.kde.sociallinkfedilinkEnglisharrow-up6·3 months agoTalking about bootstrap here?
minus-squareRevan343@lemmy.calinkfedilinkarrow-up2·3 months agoAnd that’s how you get the Thompson hack
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