• lebensterben@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    10 months ago

    at least emacs needs two threads, one for rendering interface and one for the lisp interpreter. this isn’t the multi threading some people hope for but this is much easier to implement and at face level it hides freezes.

    • janoc@alien.topB
      link
      fedilink
      English
      arrow-up
      1
      ·
      10 months ago

      And wouldn’t work, given that except for the actual pushing pixels to the screen everything else is done by the Lisp code. So you would need to tightly synchronize the two threads to the point of it being useless.

      Having a separate “rendering” thread works for applications where you can queue up rendering tasks and then execute them in the background. Such as a game engine.

      Not an interactive text editor that has not been designed with such architecture in mind because threads didn’t even exist back in the day.