News for hackers. Stuff that matters.
Re:Log File Viewer for the Terminal by Duke64 on Tuesday March 24, 2026 @07:42AM (#47501238)
I'm a little disappointed that it's not written in Rust.
Re:Log File Viewer for the Terminal by emmelaich on Tuesday March 24, 2026 @08:28AM (#47501660)
I sense an opportunity for you.
Re:Log File Viewer for the Terminal by tstack on Tuesday March 24, 2026 @10:31AM (#47503156)
Speaking as the author, I too wish it was written in Rust. But, I started it in 2007 when I needed to get practice with C++ for work. At this point, there's so much code in lnav, rewriting would be a long process. There are some sub-components[1] that are written in Rust though.

A new project called logana[2] is written in Rust and is headed in a good direction. Use/contribute to that if you're really interested.

[1] - https://github.com/tstack/lnav/tree/master/src/third-party/l...

[2] - https://github.com/pauloremoli/logana/

Re:Log File Viewer for the Terminal by Duke64 on Wednesday March 25, 2026 @03:19AM (#47514292)
Thanks for the reply and the tip about logana.

As I mentioned in the following comment[1], that was meant more as a joke. Thanks for your work!

[1] - https://news.ycombinator.com/item?id=47514276

Re:Log File Viewer for the Terminal by kermatt on Tuesday March 24, 2026 @12:33PM (#47505284)
How would this improve the functionality of lnav?
Re:Log File Viewer for the Terminal by Duke64 on Wednesday March 25, 2026 @03:17AM (#47514276)
Just so we're clear, this was more or less a joke! As far as I'm concerned, lnav is just fine as it is. There's no urgent need to rewrite it.

Why I wrote the comment: I saw the headline, checked out the website, and thought to myself, “Hey, cool—a new handy tool.” As is typical for “cool new and handy tools,” these are usually written in Rust these days ;) That’s why I was “disappointed” (not really).

I didn’t realize until later that lnav was created in 2007.

Again: the tool is great, thanks and kudos to tstack for the work.