• Richards: Introducing tmux-rs

    From LWN.net@1337:1/100 to All on Thu Jul 3 21:45:08 2025
    Richards: Introducing tmux-rs

    Date:
    Thu, 03 Jul 2025 20:40:00 +0000

    Description:
    Collin Richards has announced version
    0.0.1 of tmux-rs, a port of the tmux terminal multiplexer
    to Rust. For the [past] 6 months or so I've been quietly porting tmux from C to
    Rust. I've recently reached a big milestone: the code base is now 100%
    (unsafe) Rust. I'd like to share the process of porting the original
    codebase from ~67,000 lines of C code to ~81,000 lines of Rust
    (excluding comments and empty lines). You might be asking: why did you
    rewrite tmux in Rust? And yeah, I don't really have a good
    reason. It's a hobby project. Like gardening, but with more segfaults. Richards says that the next goal for the project is to convert it
    to safe Rust. It is currently " not very difficult to get it to
    crash ", but he wanted to share the project with other Rust fans
    now. The project is available on
    GitHub .

    ======================================================================
    Link to news story:
    https://lwn.net/Articles/1028583/


    --- Mystic BBS v1.12 A47 (Linux/64)
    * Origin: tqwNet UK HUB @ hub.uk.erb.pw (1337:1/100)