Re:Relm4 makes developing beautiful cross-platform applicati...
by zeendo on Sunday August 30, 2026 @11:01PM
(#49505125)
Is your Haskell solution open source?
Re:Relm4 makes developing beautiful cross-platform applicati...
by slacknatcher12 on Monday August 31, 2026 @10:03PM
(#49517121)
No, it is a commercial project. But there are others following the same pattern on the haskell OSS side. Check
https://github.com/Kleidukos/ghcup-gtk/blob/d384e89dd48b4065...
for an example. That program is a UI for the standard haskell installer.
Re:Relm4 makes developing beautiful cross-platform applicati...
by javier2 on Wednesday September 02, 2026 @10:21AM
(#49536693)
How the hell do you have a commerical haskell binding project?
Re:Relm4 makes developing beautiful cross-platform applicati...
by slacknatcher12 on Sunday September 06, 2026 @11:26PM
(#49593543)
Not that difficult if you go for haskell shops and also do freelancing on the side and get to pick the language.
Re:Relm4 makes developing beautiful cross-platform applicati...
by manmal on Monday August 31, 2026 @01:11AM
(#49505837)
I haven’t used Haskell much. I thought to try it with agentic help, but then read this post that its compilation times might make it unviable. But what’s your experience?
Re:Relm4 makes developing beautiful cross-platform applicati...
by slacknatcher12 on Monday August 31, 2026 @10:01PM
(#49517108)
I mean it is compiled language, but it is fine IMHO. I use `ghcide` which is a script for `ghci` (the repl) if an agent wants access.
1. Use a native widget system such as GTK (I evaluated Qt too)
2. Wrap widgets into a component datatype that is aware on how to update the widget when the props/model changes.
3. Define a dispatch closure that is passed to widget that accepts messages. Actions on the widgets should use this instead of mutating a reference.
4. That dispatch closure is component aware and it will call the update function on all the widgets.
There are some extra complications for long running computations but the model is a good base to build on. I wish the best to the relm team, most likely I will use them when programminmg in rust.