sag@lemm.ee to Programmer Humor@lemmy.ml · edit-27 months agoAnyone here use assembly?lemm.eeimagemessage-square83fedilinkarrow-up11arrow-down10
arrow-up11arrow-down1imageAnyone here use assembly?lemm.eesag@lemm.ee to Programmer Humor@lemmy.ml · edit-27 months agomessage-square83fedilink
minus-squarewewbull@feddit.uklinkfedilinkEnglisharrow-up0·edit-27 months agoOnly the most very basic compilers. C compilers are in C mainly.
minus-squareulterno@lemmy.kde.sociallinkfedilinkEnglisharrow-up0·7 months agoTalking about bootstrap here?
minus-squaredavel [he/him]@lemmy.mllinkfedilinkEnglisharrow-up0·edit-27 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-squareRevan343@lemmy.calinkfedilinkarrow-up0·7 months agoAnd that’s how you get the Thompson hack
Only the most very basic compilers. C compilers are in C mainly.
Talking about bootstrap here?
Indeed
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
And that’s how you get the Thompson hack