3 ms·
I see a lot of TUI and rich-console applications that don’t require high performance are written in Rust lately, does it have especially good libraries for that
by ansgri 3y ago
I see a lot of TUI and rich-console applications that don’t require high performance are written in Rust lately, does it have especially good libraries for that, or is the ease of distribution the deciding factor to prefer it over scripting languages?
- dzfrias 3y agoRust has great libraries for TUIs. tui-rs (https://github.com/fdehau/tui-rs https://github.com/fdehau/tui-rs) has been used in numerous popular applications, but is unmaintained. ratatui (https://github.com/tui-rs-revival/ratatui https://github.com/tui-rs-revival/ratatui) is the maintained version, and is pretty new. Less widely known is cursive (https://github.com/gyscos/cursive https://github.com/gyscos/cursive), which I have yet to try. Aside from the libraries, I just wanted to start a project that would make be better at Rust. The easy distribution with cargo is a huge bonus though.