News for hackers. Stuff that matters.
Re:I'm writing a new CLI text editor, because I can by thisismyhna on Friday September 22, 2023 @02:29PM (#37615791)
Made my own CLI text editor as well this year using rust following this: https://www.flenker.blog/hecto/

Building tools like this is great practice for learning new languages.

Re:I'm writing a new CLI text editor, because I can by bajsejohannes on Friday September 22, 2023 @02:49PM (#37616059)
I haven't read about hecto (yet), but I can thoroughly recommend the one about kilo, which is linked in the first paragraph of that article http://antirez.com/news/108 . Or even just reading the C code. It's achieving a lot with few lines and no dependencies (outside of the OS, that is)
Re:I'm writing a new CLI text editor, because I can by btown on Friday September 22, 2023 @04:14PM (#37617164)
Just wanted to share that this is one of the best tutorials that I've read in quite a while! Super clear writing style, the use of diffs for each stage (as well as showing the progression via different tags in the repository) is incredible (and something I may borrow in the future!), and you do a great job walking the reader through the complexities of Rust in an approachable way. Really, really cool.