• nychtelios@rlyeh.icu
    link
    fedilink
    English
    arrow-up
    21
    arrow-down
    1
    ·
    1 year ago

    Actually compilers are more complex than operative systems, and incredibly they are built using compilers.

      • phorq
        link
        fedilink
        English
        arrow-up
        14
        ·
        1 year ago

        Yup, C is written in C. You bootstrap using a compiler written in another language until your language is complete enough to write its own compiler.

    • pewpew@feddit.it
      link
      fedilink
      English
      arrow-up
      4
      ·
      1 year ago

      I belive you. I made a basic OS in around a month and now i’m starting a C compiler, I think I underestimated it a bit