Comment on Selkie – Opinionated TUI Framework for RakuComments−librasteve4moI tried this on macOS … very smooth install and looks great.But why would I switch to Raku just to get a TUI framework?−apogeeOP4moThe tl;dr is: because you want native performance and don't want to focus on blitting pixels or terminal internals.Selkie has an event/effect model similar to Elm & re-frame, you just declare your widgets and renders/updates are handled by the lib.As for why Raku:- grammars allow for easy parsing of complex DSLs- supply/tap are a natural fit for the event/effect model, asynchronous thread-safe programming- roles make composing widgets simple- it's fun to write :D−librasteve4moOk cool, thanks!−apogeeOP4monp, what kind of TUIs do you write?
Comments
I tried this on macOS … very smooth install and looks great.
But why would I switch to Raku just to get a TUI framework?
The tl;dr is: because you want native performance and don't want to focus on blitting pixels or terminal internals.
Selkie has an event/effect model similar to Elm & re-frame, you just declare your widgets and renders/updates are handled by the lib.
As for why Raku:
- grammars allow for easy parsing of complex DSLs
- supply/tap are a natural fit for the event/effect model, asynchronous thread-safe programming
- roles make composing widgets simple
- it's fun to write :D
Ok cool, thanks!
np, what kind of TUIs do you write?