3 ms·
I’m totally ignorant on this and don’t understand. How is WebAssembly helpful for terminal UI apps and why has it been chosen here? Is it mainly for easier cros
by AnonHP 2y ago
I’m totally ignorant on this and don’t understand. How is WebAssembly helpful for terminal UI apps and why has it been chosen here? Is it mainly for easier cross platform support (with the UI being HTML and then translated for the terminal)? How does it compare on ease of development, testing, maintenance effort, etc., to other terminal UI libraries?
- wffurr 2y agoIt's not for terminal UI apps; it's for web apps themed to look like terminal UI apps.
- pornel 2y agoIt's the other way around: there's an existing ratatui library that is pretty nice for making rich terminal UIs, and since ratatui is written in Rust, the easiest way of porting it to the web is through WASM.
- weinzierl 2y agoExactly, Ratatui can bring terminal aesthetics to web but it also works the other way around. A lot of the modern terminal aesthetics is inspired by the web. It is not real 80s, more faux 80s. Ratatui's creator had an excellent talk about this at FOSEM which basically was structured into these two chapters. https://fosdem.org/2025/schedule/event/fosdem-2025-5496-bringing-terminal-aesthetics-to-the-web-with-rust-and-vice-versa-/ https://fosdem.org/2025/schedule/event/fosdem-2025-5496-brin...