3 ms·
TUI for lobste.rs, Written in Rust
- mikece 7y agoThis article leaves me with more questions than answers after reading it. Has the author written a TUI for lobste.rs in another language before? How was the experience different by using Rust? Where there any "Aha!" moments during this exercise which makes the author think that Rust could replace other languages in their daily work?
- vertex-four 7y agoI mean, the author probably just picked Rust as a language because they like Rust, the same way that most people pick languages for small projects.
- mikece 7y agoYes... but this hit the front page of Hacker News: why? Just because it has "Rust" in the title? I was hoping for a little insight or, you know, _news_...
- vertex-four 7y agoTerminal-based interfaces for HN-like websites are generally popular on HN.
- hu3 7y ago> but this hit the front page of Hacker News Because it has rust in the title. Its community have a disproportionate tendency to shove generally unninteresting content into frontpages.
- pnako 7y agoEvery other year there is a trendy language, and if you write a Tetris clone with it you can write a blog post about it. Nowadays it's Rust, tomorrow it will be something else. Project idea: a visualization of trendy languages on HN, written in Kotlin
- klyrs 7y agoCan somebody explain why we need another acronym that appears to mean the same thing as CLI? Edit: Gotta love these downvotes. Punishing people for trying to patch holes in their knowledge is a great teaching strategy. Stay curious, folks
- detaro 7y agoIt doesn't mean the same. It doesn't have a command line (although it might be started from one), but a text-based UI inside the application, so it isn't a CLI, but a TUI.
- aquabeagle 7y agoIf it says CLI, I tend to think of it as a normal command that runs and spits out some output (or nothing). A TUI means a full-screen, long-running, interactive application. So if this were a CLI for lobste.rs, I'd assume it just fetches the stories and prints them.
- the_duke 7y agoA TUI is not a CLI, but a GUI that 'happens' to render in a terminal environment, restricted to the features available there. (mostly ANSI escape codes) It's a common acronym.
- jononor 7y agoDo you mean TUI (Terminal User Interface)? It is not the same as a CLI (Command Line Interface). A CLI is text-prompt based: run a single command, get a response. A TUI is an interactive program with keybindings, where one can navigate around, do actions and the screen will update to reflect the new state. Basically like a X11/win32 GUI, but inside a terminal window.