Hacker News new | ask | show | jobs
by Duke64 83 days ago
I'm a little disappointed that it's not written in Rust.
3 comments

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/

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

How would this improve the functionality of lnav?
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.

I sense an opportunity for you.