• naonintendois
    link
    fedilink
    arrow-up
    10
    ·
    1 year ago

    What hardware drivers are written in Python? I would assume they’re bindings to drivers with a C interface.

    • hosaka
      link
      fedilink
      arrow-up
      2
      ·
      1 year ago

      Take a look at micropython, some drivers are writing in pure python, I’ve written a display driver previously

      • naonintendois
        link
        fedilink
        arrow-up
        3
        ·
        1 year ago

        I assumed those were for hobbyists. I would be surprised if that was used in a major product given how many cycles you lose to python implementation.

        • hosaka
          link
          fedilink
          arrow-up
          1
          ·
          1 year ago

          Yeah you’re totally right. Nonetheless the use case has it’s place. People buy and use hobbyist hardware, and this is a market on its own.