News for hackers. Stuff that matters.
Re:Introducing tmux-rs by submeta on Thursday July 03, 2025 @11:53AM (#44456316)
Tmux is a gamechanger for me. Being able to start a dozen different projects with one line (using tmuxinator): the server, tailing logfiles, activating venvs, running the docker container, all within one line of code: Awesome. Hadn’t worked with it for years, just started again two days ago as I migrated from iTerm to Ghostty. And am loving the setup. Plus nvim. Pure awesomeness.

Looking forward to check out tmux-rs.

Re:Introducing tmux-rs by kccqzy on Thursday July 03, 2025 @01:14PM (#44457198)
Surprised to hear you migrated from iTerm. It actually has a tmux integration mode (using -CC) that's awesome. You then don't have to remember any tmux specific shortcuts. Switching window is just Cmd+` just like everywhere else.

I entirely stopped using tmux when I couldn't use iTerm.

Re:Introducing tmux-rs by johnisgood on Thursday July 03, 2025 @01:41PM (#44457441)
> Looking forward to check out tmux-rs.

Have you checked out the website? This is a c2rust project. The Rust code is full of unsafe code and probably buggier than the C version, and let us not even mention readability and maintainability. Maybe there is a joke somewhere.

Re:Introducing tmux-rs by neuspadrin on Thursday July 03, 2025 @01:59PM (#44457616)
Did you? Like 2 paragraphs in:

> I threw away all of the C2Rust output and decided I would translate all of the files into Rust manually from C.

The talk about starting with it, realizing it was too rough and changed approach. It's unsafe rust now but next goal at end was a safe version.

Re:Introducing tmux-rs by johnisgood on Thursday July 03, 2025 @03:41PM (#44458505)
Yeah, time will tell. I am not going to hold my breath. You can, but you might find yourself dead (or not, actually).

Have you read the conclusion, BTW?

Re:Introducing tmux-rs by johnisgood on Thursday July 03, 2025 @05:48PM (#44459451)
To all the down-voters: worth reading: https://news.ycombinator.com/item?id=44459114