Making a GTK application in Haskell, part 1

(floreal.tech)

48 points | by Vosporos 2 hours ago

3 comments

  • drnick1 0 minutes ago
    Just keep in mind that some people like me avoid Haskell and the huge package mess it causes on Linux. Just stick to C++.
  • seba_dos1 1 hour ago
    Replace `backdrop-filter` on `.backdrop::after` with `filter` on `.backdrop picture` for a free scrolling performance boost.
    • nh2 3 minutes ago
      Indeed the scrolling performance is awful, makes reading it less enjoyable, especially when the topic is GUIs!
  • birchcove 51 minutes ago
    i've been writing Haskell GUIs for a few years and mostly stick to react-banana or reflex because wiring up gtk-gi signals manually gets messy fast. The Elm architecture pattern here looks clean on paper but I'm curious how you handle async events from the widget tree without ending up in callback hell. Did you end up wrapping all GI callbacks in a channel that feeds into your update loop?