Zed is a modern open-source code editor, built from the ground up in Rust with a GPU-accelerated renderer.

  • aramus@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    2 months ago

    I still don’t understand why I should need GPU acceleration for my fucking TEXT EDITOR

    • FlorianSimon@sh.itjust.works
      link
      fedilink
      arrow-up
      0
      ·
      2 months ago

      Probably because it’s more efficient. GPUs are designed to render things, which editors do. In a text editor, you’re effectively rendering fonts over a fixed background, which I assume is pretty efficient using the GPU.

      We’re not talking about crazy 3D effects here.

      Yay to battery savings!

      • booly@sh.itjust.works
        link
        fedilink
        arrow-up
        0
        ·
        2 months ago

        Shouldn’t the DE/Window Manager be handling that? Seems like doing it on a window by window basis would be inefficient (and look inconsistent).

        • leopold@lemmy.kde.social
          link
          fedilink
          English
          arrow-up
          0
          ·
          2 months ago

          The job of the window manager is to manage windows and very little else. Font rendering is done by the widget toolkit, usually via freetype/harfbuzz.