For some reason, it seems popular for GUI crates to use the GPU. I just want to make simple widgets, for like a calculator.

No fancy graphics. I want it quite lightweight.

For some reason, popular GUI crates love to do everything through a GPU, which bumps up the memory / cpu use significantly.

  • Tobias Hunger@programming.dev
    link
    fedilink
    arrow-up
    11
    arrow-down
    1
    ·
    1 year ago

    Slint fits the bill: We have a demo running on a line-buffer in a microcontroller with <300KiB of RAM. Framebuffers are of course supported as well, as is GPU-accelerated rendering.

    • BB_C
      link
      fedilink
      arrow-up
      5
      ·
      1 year ago

      Did you tick “Bot Account” by accident?

      • Tobias Hunger@programming.dev
        link
        fedilink
        arrow-up
        5
        ·
        1 year ago

        I did tick that, since I saw text boxes and went “give me everything” without reading:-)

        Fixed. Thank you for pointing this out.