Introducing tmux-rs
820 points by Jtsummers 1 day ago | 281 comments- starchild3001 19 hours agoThis is a fantastic write-up of a truly monumental effort. I have huge respect for the author's persistence. The line "Like gardening, but with more segfaults" really resonates. It’s this kind of deep-dive hobby project where you learn the most.
The experience with `c2rust` is particularly interesting. It reminds me of a similar shift I saw years ago with automatic code translators between other languages. They're incredible for getting a project off the ground and proving feasibility, just as the author found, but you often end up with code that's completely "un-idiomatic" for the target language. The decision to throw it all away and do a manual port, while surely gut-wrenching, was the right call. You just can't automatically translate the intent of the original C code into safe, idiomatic Rust.
The "Interesting Bugs" section gave me flashbacks. Bug #2, with the mismatched struct layout due to a missing `*`, is a classic FFI (Foreign Function Interface) nightmare. I once spent the better part of a week debugging a similar issue between C++ and C# where a single change in struct packing alignment was silently corrupting data downstream in very subtle ways. It's one of those bugs that makes you question your sanity. Finding that requires some serious debugging grit, so kudos to the author.
This project is a great case study in the real-world challenges of modernizing critical infrastructure code. The author mentions the next big goal is to convert the codebase from `unsafe` to safe Rust. I'm really curious about the strategy for that.
Refactoring away the raw pointers and complex control flow (like the `goto` patterns) into safe, idiomatic Rust without breaking everything seems like it would be even more challenging than the initial port. Will the approach be to introduce lifetimes and the borrow checker module-by-module? And what's the plan for the intrusive data structures? Replacing them with standard library collections like `BTreeMap` is the obvious choice, but I wonder if that will have performance implications that the original intrusive design was meant to avoid.
In any case, amazing work. Thanks for sharing the journey in such detail. I'll be following this project on GitHub for sure.
- johnisgood 8 hours agoWhat is fantastic about a c2rust project?
I will be amazed once it materializes, i.e. becomes a real, Rust rewrite of tmux, which I highly doubt is going to happen, but here is to hoping, right?
In any case, I am perfectly fine with OpenBSD's tmux. I had no issues whatsoever, ever. I will continue to stick to that, and I hope OpenBSD will never adopt Rust, they have many reasons to not do that. Their C projects have been pretty great. They are the living embodiment of that C code can be safe.
---
Edit:
Let me summarize it for the down-voter:
1. I will be glad if it becomes a real, working rewrite of tmux (highly doubt it is going to happen anytime soon).
2. So far I am fine with OpenBSD's tmux.
3. Their C projects have been great, and the CVEs (or lack thereof) speak for themselves.
What do you think is wrong with these statements that warrant your dislike? You do not like OpenBSD? You do not like their projects? You think a c2rust project full of unsafe and unreadable mess is great? What is it? I am looking for your answers, dear down-voter. Please answer. I beg.
---
Edit #2:
The source code is available here: https://github.com/richardscollin/tmux-rs/tree/main/src
It is still c2rust (or something else), and it contains ~5115 unsafe blocks.
You do not need to be familiar with Rust to be able to tell that this is indeed c2rust (or something else).
- Touche 7 hours agoThis person built a really cool project and documented how and you're throwing negative predictions about it for no reason. No one is down voting your opinions on OpenBSD
- johnisgood 7 hours agoJust for the record, I have nothing against the project. The only issue I may have is it being c2rust (or something related, be it an LLM or whatever). If it indeed materializes and becomes an actual rewrite of tmux, then I will celebrate, but from what I can see in the source code, I do not have high hopes.
---
Edit:
Please feel free to read its source code here: https://github.com/richardscollin/tmux-rs/tree/main/src
It is still c2rust (or something related), with ~5115 "unsafe" blocks.
- johnisgood 7 hours ago
- faitswulff 7 hours agoYou’re probably being downvoted because the author ended up not using c2rust.
- johnisgood 6 hours agohttps://github.com/richardscollin/tmux-rs/tree/main/src
Have fun reading the source code.
- johnisgood 6 hours ago
- Touche 7 hours ago
- chickenzzzzu 15 hours ago[flagged]
- starchild3001 15 hours agoI'm sorry chickenzzzzu, I'm afraid I can't do that.
- whatever1 15 hours agoPlease enter new payment information
- starchild3001 15 hours agoI've seen things you people wouldn't believe
- starchild3001 15 hours ago
- johnisgood 8 hours ago
- ethagnawl 1 day agoThis announcement has my attention.
I've been working on a Rust-based tmux session manager called rmuxinator (i.e. tmuxinator clone) for a few years now. It (mostly) works and been slow going because ... life but I've recently picked it back up to fix some bugs. One of the last new features I'd added was the ability to use rmuxinator as a library in other Rust programs. I'd like to try forking tmux-rs, adding rmuxinator as a dependency and seeing if it would ... just work as a way to start sessions using per-project config files. I'm definitely not advocating for adding rmuxinator upstream but it would be very nice to have this sort of session templating baked into the "terminal multiplexer" itself.
The other interesting possibility I could foresee is doing things the other way around and having rmuxinator use tmux-rs as a library in order to setup and manage sessions instead of just dumping out shell commands -- which is fraught with edge cases. (Not sure if this is currently possible with tmux-rs, though.)
Once I wrap up the bugfixes I'm currently working on, I may fork this project and give one or both of the above a try.
Regardless, nice work by richardscollin!
- mbreese 1 day ago> 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.
I love this attitude. We don’t necessarily need a reason to build new things. Who knows what will come out of a hobby project. Thanks to the author for the great write up!
Also, my gardening is full of segfaults, coding a new project is definitely safer to my yard.
- tombert 1 day agoCompletely agree. Not every project has to be out there to change the world.
I recently rewrote `fzf` [1] in Rust. Did I have any particular reason to do so? No, not really, regular `fzf` is fine, but I thought it would be a fun excuse to learn how fuzzy search algorithms work and how to exploit the channels in Rust. It was fun. There's no question that regular fzf is better but that wasn't the point, the point was to play with stuff and learn.
- carlmr 23 hours agoNice, I do think fzf is a really good candidate for something that could be better if written in Rust. The fzy[1] C-rewrite is really fast, but I couldn't get it to give me as useful results when searching bash history.
[1] jhawthorn/fzy: :mag: A simple, fast fuzzy finder for the terminal https://share.google/TBp3pVaFngBTfaFyO
- milliams 11 hours agoWell there's been skim (https://github.com/skim-rs/skim) for a while as a fzf equivalent in Rust.
- tombert 23 hours agoYeah, I think Rust makes some sense, and I do think I've done a few clever things like getting a linear-time "sort" by exploiting the fact that there's a discrete and finite number of "scores" [1], and avoiding copies by taking the indexed values and explicitly moving them into the source channel to avoid extra copies [2].
Someone smarter than me who is more familiar with TUI programming could almost certainly augment and improve what I wrote; I worked on it for as long as it was interesting to me. I use it for my home-built program launcher thing Sway, though most people would probably get better results with real fzf.
[1] https://github.com/Tombert/rs-fzf-clone/blob/main/src/helper... [2] https://github.com/Tombert/rs-fzf-clone/blob/main/src/proces...
- ricardobeat 11 hours agoFirst time hearing anyone say fzf can be slow. I mostly use it for filtering relatively small lists (few K items), for example git reflogs, is speed an issue when searching the whole filesystem or something on these lines?
And assuming speed is not an issue, why would Rust make it better?
- milliams 11 hours ago
- carlmr 23 hours ago
- planet36 1 day ago"Gardening is the handiest excuse for being a philosopher." - Ray Bradbury, Dandelion Wine
- godelski 1 day agoHonestly, I often hate how people ask "why?", and don't understand how "for fun" is a legitimate answer. I get it for work or other things, but hobbies? We do lots of things for fun! Humans were born to play, just like every other animal. It's how we learn and explore the world around us.
And frankly, to quote Knuth
This is true for any field, or any project. We're creative creatures. We dream and explore. Major changes almost never come from doing things the way they've always been done. A lot of times "just because" gives you the freedom to try new things and challenge those paradigms. Weirdly, if you always have to justify everything you slow down progress.> In fact what I would like to see is thousands of computer scientists let loose to do whatever they want. That's what really advances the field.
- Arisaka1 23 hours agoI still believe that my #1 think that stunted my growth as a junior SWE was overthinking my personal projects and languages to use for them, instead of just building whatever I felt it's interesting or intriguing to build.
- godelski 22 hours agoIt's always hard to tell. But have you considered you might be measuring the wrong way?
To me it sounds like you learned a real important lesson one that some people never seem to learn.
I think one of the most beneficial aspects of doing things "just because" is these other skills or information you get along the way. It is very easy to miss all of this progress if you're too focused on the progress of the more tangible things. But that doesn't make any of that not progress. So don't put yourself down for that, because I'm sure you learned a lot. The only reason you can look back and see a better way is because you made that progress and learned those lessons. These are things mentors can usually help you get through faster but not everyone has a mentor nor access to one. But don't undermine your own progress just because you didn't finish projects or because you did things differently than others
- Quiark 14 hours agoyou cultivated your interest in programming languages and techniques
other people use the stupidest possible javascript to launch product and really focus on product and marketing
yet other people stay as far away from computers as possible and focus on more human activities
you just do what you're drawn to naturally
- ku1ik 22 hours agoSame here!
- godelski 22 hours ago
- serial_dev 21 hours agoAsking “why” can still be a legitimate question, and “for fun” can also be a legitimate answer.
I treat projects differently if they want to launch a product, they want to replace an established open source tool, done for fun for themselves, or if it’s a hobby project.
- godelski 19 hours agoThe complaint isn't about being asked why, it is about "for fun" not being acceptable.
Follow up questions are totally cool but the context is different, right?
If it isn't acceptable then there's a negative tone and questions are focused on utility and usually them "trying to help you" find utility.
If it is acceptable they ask you about your interests and what you're learning. Sometimes that can turn into utility but that's more natural.
It's a lot about culture to be honest. Some people are just toxic and if things don't make sense in their heads then it doesn't make sense in any head.
- goku12 13 hours ago'For fun' is a perfectly reasonable answer. But sometimes the answer to 'why' comes after you do it. I'm sure that everyone has learned something without realizing its utility until the end. Nobody is obligated to answer that question, unless you're pitching something.
- godelski 19 hours ago
- hamandcheese 16 hours agoI suspect they do understand that "for fun" is a reasonable answer. The disconnect is probably that they don't see how your hobby could be fun.
- charcircuit 21 hours agoThere is more than 1 way to have fun. Some ways of having fun will produce more value to other people than others.
- Arisaka1 23 hours ago
- cultofmetatron 1 day ago> Like gardening, but with more segfaults.
interesting, I'm new to rust. what are you doing that necessitates using unsafe?
- jeroenhd 1 day agoA lot of things that C will let you do (even if you enter the realm of undefined behaviour) will simply not compile to C. As the author states, there are semantic differences between pointers and Rust's references.
C pointers can have as many owners as you want, may be subjected to mathematical operations, and can be cast to any type without even an error message. The compiler will just assume you know what you're doing. If you enable enough compiler warnings, it might warn you, but C compilers don't generate a lot of those by default.
Rust will let you only generate one mutable (exclusive) reference at a time. This means straight C to Rust ports simply don't compile.
By switching to pointers, which work pretty much like their C equivalent, you can port the code much easier, but you do of course lose the benefits of Rust's safety mechanisms, because most pointer operations throw away all the safety guarantee that Rust provides.
- zozbot234 22 hours ago> Rust will let you only generate one mutable (exclusive) reference at a time.
Safe Rust includes many forms of shared mutability, including Cell<> which is perhaps the closest comparison to typical patterns in C code.
- SoftTalker 1 day agoSo what is the advantage of an unsafe Rust implementation? Just to have done it?
- krater23 21 hours agoHmm...I like when the compiler don't steps in my way and assumes that I know what I'm doing. Thats the reason why I don't like Rust. But when you like it, have fun!
- zozbot234 22 hours ago
- tshaddox 1 day agoI suspect it's vastly easier to port C to unsafe Rust than to safe Rust.
- jeroenhd 1 day ago
- sherburt3 20 hours agoI was about to post a snarky comment because I have a knee jerk reaction whenever someone implies a rust application is intrinsically better than C. Sometimes I forget people do things for fun.
- 1vuio0pswjnm7 21 hours ago"We don't necessarily need a reason to build new things."
But tmux isn't new
Is a reason necessarily needed to rewrite software in other languages
- fragmede 21 hours agoGNU screen would like a word.
- lproven 5 hours ago> GNU screen would like a word.
Screen, tmux, byobu, dvtm, mtm, Twin, and most of all Zellij, which is basically "tmux but redone in Rust".
I tried to compare them all a month ago:
https://www.theregister.com/2025/06/24/tiling_multiplexers_s...
- magarnicle 20 hours agoI really don't know how tmux got so much mindshare over screen. It just isn't obviously better in any way. Maybe screen is just poorly named?
- lproven 5 hours ago
- fragmede 21 hours ago
- upmind 1 day agoI found out that quite funny, I wonder how many hours he spent on this. It seems extremely monotonous haha
- 21 hours ago
- dsp_person 1 day agoLooking forward to the tmux-c re-rewrite next
- johnisgood 23 hours ago[flagged]
- johnisgood 23 hours ago
- rauli_ 1 day agoNot every code project needs to turn out to be world changing. Experiments like this sometimes produce excellent results.
- 9 hours ago
- 90s_dev 22 hours agoIntuition and logic are the two halfs of reason (logos). We sometimes have a reason that we can't put into words (logos) but we know intuitively.
- nisegami 1 day agoMaybe my understanding of one or more concepts involves is wrong, but that "more segfaults" bit confuses me. Shouldn't the rust compiler prevent code that can segfault from compiling? Unless there was a lot of unsafe blocks involved.
Edit: apparently it did turn out to be a lot of unsafe code
- Jtsummers 1 day agoIt's a transliteration. He's basically implemented a C program in Rust. He says in the conclusion the next goal is converting it to safe Rust.
- ar_lan 1 day agoIn the second sentence he mentions:
> the code base is now 100% (unsafe) Rust
I didn't interpret that it's 100% unsafe, but I do expect that to mean there is probably a lot of unsafe blocks used. A good amount of the example code in the post alone is unsafe blocks as well.
- miroljub 1 day agoMy understanding is that, even though tmux-rs is written in a safer language, it still can't beat the stability of an old battle-tested well-maintained project written by a group of highly competent developers.
Every new project is bound to have bugs that need to be ironed out during the time.
- a_humean 1 day agoThey wrote everything in unsafe rust where its very possible to segfault. This is not a normal C to Rust port. In a normal port you would never aim to have 100% unsafe rust code - rather you would hive off small parts of your application where you need unsafe so its highlighted and auditable. This is clearly an excerise for fun.
- antonvs 1 day agoNo, the issue is that doing a direct translation from a fundamentally unsafe language like C can't fix safety issues.
You'd have to do a proper rewrite, in which case you could write safe code from the start.
> Every new project is bound to have bugs that need to be ironed out during the time.
Not on the level of the kind of critical security and reliability bugs that unsafe languages foster. That's why CISA and the FBI both strongly recommend memory-safe languages.
- QuaternionsBhop 1 day agoMy understanding is that the author was referring to there being more segfaults in programming than in gardening.
- Ar-Curunir 1 day agoIt’s just because there are a lot of unsafes, and because the translation from C to Rust introduced semantic-mismatch bugs
- a_humean 1 day ago
- Jtsummers 1 day ago
- vpShane 1 day ago[dead]
- badgersnake 23 hours ago> new things
Or copies of old things apparently.
- tombert 1 day ago
- tekawade 1 day agoI love this. I also want to dabble into loving things to rust!
Here I want to call out zellij. Zellij is rust based terminal multiplexer.
I am user not creator. I love everything rust and finding and migrating to rust based solutions where feasible.
- goku12 13 hours agoJust curious. I'm a Rust developer. But I don't see myself discriminating between tools written in C, C++, Rust, Zig, etc. They all seem easy to install and use, as long as they're reasonably bugfree. Scripting languages are slightly different as they require me to maintain their respective interpreters and tools on my system. What difference do you see between applications written in Rust and those written in other compiled languages?
- tkcranny 11 hours agoI agree the underlying technology doesn’t ultimately matter, but as user of a lot of fairly modern rust-based cli tools there definitely is something in the air worth mentioning.
I suspect it’s a couple of things. A new generation of programmers are hitting the scene, wanting to do things in new ways. Not inherently good or bad, but the new tools sure usually are at least very _pretty_, and have a lot of affordances and usability improvements over the ancient tools that can never be changed for the sake of compatibility. Rust and Go make this nicer, and are the languages de jour with good cli ecosystems and performance characteristics around them.
I genuinely do like most of my replacements. ripgrep for grep, eza for ls, zoxide for cd, fd for find, podman for docker, and a few more. Developer tooling is a rich and interesting space to be in, but there’s plenty of bandwagons I’m not getting on, like this or zellij for tmux, or jj for git.
- juped 8 hours ago> zoxide for cd
i'm sorry WHAT
- juped 8 hours ago
- shim__ 12 hours agoBuild Systems for C(++) are a mess, no package manager often means git submodules. Whereas Rust is actually easy, just requiring an `cargo install`. Don't know about Zig though Zig hasn't really taken of just yet imo.
- tkcranny 11 hours ago
- goku12 13 hours ago
- m3at 17 hours agoVery much a side note, but:
> my feeling is that I’d still reach for it if my hands are really physically hurting, and I need to keep working. Usually once I reach the point where I’ve got blisters on my fingers I think it’s better to just take a break
I'm dumbfounded, and impressed in an unhealthy way. Do some of you regularly type so much that you develop blisters?
- DJBunnies 16 hours agoEver seen somebody type on a keyboard that learned on a typewriter?
- vanderZwan 8 hours agoEvery day when I look in the mirror, and I don't have this problem.
Then again, by the time I had a touch typing course at age ten using an old typewriter, I already had taken piano lessons for a couple of years. My music teacher was very strict on proper hand positioning, saying that future me would hate him if I didn't learn that right. I stopped taking piano lessons soon after, but I imagine that the skills involved with properly playing the piano transfer quite well to typing.
- vanderZwan 8 hours ago
- DJBunnies 16 hours ago
- gmoque 1 day agoI love the attitude on this project and most of the comments are supportive. While rewriting a mature application to another language always sounds like a bad idea, there are so many learnings along the way. It's not about the end it's about the process.
Given the traction you got here and the advancements in AI, I'm sure this can become a very attractive hobby project for Rust beginners, there's probably a lot of easy bugs to fix. Fixing bugs, adding new features, and optimizing the code is all you need.
Here's an idea to get the ball rolling: Create a scratch buffer for Gemini CLI (or your favorite LLM) and enable it to interact with the various windows and panes of the tmux session.
Here's my use case, I use synchronized panes to send the commands into multiple servers, but some commands sometimes fail for various reasons. What if I can just ask the AI to send a series of commands and react based on the output and adjust along the way. It's like a dynamically generated custom shell script on the fly.
- fasterik 19 hours agoI'm all for people doing whatever hobby project they want to do for learning and entertainment purposes. But I don't really understand the appeal of straight porting something from one language to another.
For example, I'm a daily gvim user. If I were going to do a hobby project text editor, I would emphatically not make a clone of gvim, I'd make a text editor with exactly the features I want that behaves exactly how I want. If you're going to invest that much time in a project, why not do something creative and unique?
- fasterik 19 hours ago
- usrbinbash 6 hours ago> the code base is now 100% (unsafe) Rust
So the primary (or rather: only) reason for using Rust over C (memory safety) is out the window.
> 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
And the codebase got bigger.
So yeah, as the author explains, hobby project, and kudos to that, but nothing that I will install on any box of mine any time soon.
Besides, applications like tmux would much rather be prime candidates for a rewrite in a garbage collected systems language (aka.; Go) than in Rust. tmux spends 99% of its time waiting for the user to hit a key, there is nothing performance critical in such an app that wouldn't be 100% adequately served by Go.
- tekkk 5 hours agoJust appalling. Someone publishes a post about their WIP project reaching an important milestone, and here comes the naysayers whining about the fact it's not finished yet.
Did you even the article? He clearly states his aims to convert it to safe rust. And for the code size, he clearly hasn't needed to optimize it yet and I don't think you necessarily want to code golf codebase like this.
- usrbinbash 16 minutes agoSince when is "Giving an honest opinion" considered "appalling"?
- usrbinbash 16 minutes ago
- MuffinFlavored 5 hours ago> but nothing that I will install on any box of mine any time soon.
A little harsh. Rome wasn't built in a day.
- johnisgood 5 hours agoIt is not harsh at all. It is honest.
Check out the source code. I will stick to OpenBSD's tmux.
This Rust project is not something any Rust programmer would write, I presume, especially if they want safety. Why use Rust to begin with if it is 100% unsafe? He is not going to learn (safe) Rust this way.
- johnisgood 5 hours ago
- tekkk 5 hours ago
- pizlonator 20 hours agoI just ported tmux to Fil-C in less than an hour (that included porting libevent and gettings its test suite to pass).
Works great and it's totally memory safe
- golem14 16 hours agoWould you mind porting graphviz to Fil-C ?
It's probably foolish, but I have the idée fixe that there's really no solid alternative for graphviz and dot (yes, there are UI versions, and mermaid and whatnot, but nothing that works on really big graphs and has the same expressivity), and I suspect that soon all the people that wrote graphviz will die off or retire. I like to see a port to a newer language as well, so ongoing maintenance will bercome easier.
Again, probably an idée fixe, and all is really well.
- pizlonator 16 hours agoDownload binaries here: https://github.com/pizlonator/llvm-project-deluge/releases
Try to port it. Maybe it'll just work
- pizlonator 16 hours ago
- aniviacat 8 hours agoDid you experience a noticable performance degradation?
- pizlonator 6 hours agoNot in tmux
- pizlonator 6 hours ago
- 19 hours ago
- golem14 16 hours ago
- tialaramex 1 day agoCoincidentally I was just watching this, "Oxidise Your Command Line"
https://www.youtube.com/watch?v=rWMQ-g2QDsI
Some of that video is about stuff you have no use for if you're not a Rust developer, but, some of it is things that would be just as useful to anybody who is comfortable with, as it says, a command line interface.
- someperson 1 day agoSurely improvements be made to c2rust to reduce the cited information loss with constant naming, to reduce the initial conversion burden?
- kevincox 22 hours agoYeah, this seems like a huge missing feature for C2Rust. IIUC the main idea is to serve as a base for then porting to idiomatic Rust. But if you lose all of the constants that is a huge productivity loss.
- dataking 21 hours agoIndeed. We had experimental support for preserving (some) constants but it fell by the wayside. We're bringing it back in the coming months.
- dataking 21 hours ago
- kevincox 22 hours ago
- rthnbgrredf 1 day agoThis seems like an excellent future use case for a fully automated process by a large language model that translates a non-trivial C codebase to Safe Rust in under an hour with high accuracy. However, as the author noted, even after some attempts with Cursor at the end of development, the tool wasn't able to accelerate the translation effectively (in mid-2025). So while the potential is promising, it appears we're still some way off.
- gavmor 1 day agoThese folks[0] are doing it, possibly via "codemods"[1], which utilize ASTs.
0. https://codemod.com/ 1. https://martinfowler.com/articles/codemods-api-refactoring.h...
- keybored 1 day ago> This seems like an excellent future use case for a fully automated process by a large language model that translates a non-trivial C codebase to Safe Rust in under an hour with high accuracy.
That’s specific.
- gavmor 1 day ago
- wiz21c 9 hours ago> the code base is now 100% (unsafe) Rust > ... It’s a hobby project. Like gardening, but with more segfaults.
From now on, it's like gardening, but in hell :-)
- sriku 9 hours agoIn "Interesting bugs / Bug 1",
That's weird as an explanation. 0x60302764 is 4 bytes and 0x2764 is 2 bytes. Why would an address get truncated to 2 bytes? Is int 2-bytes according to any intermediate compilation stage? (Been at least 25 years since I saw int be 2 bytes, if ever).I walked through the code again. Inside of the Rust function (*c).bar has a valid address, like 0x60302764, but out the function, the value received from the calling C code was 0x2764. ... That’s right, the C code was using the implicit declaration which is: int get_addr(); That explains why the value was incorrect! The C compiler was thinking a 4 byte int was returned not an 8 byte pointer. So the top 4 bytes were being truncated or ignored.
- xvilka 1 day agoNice, hope it will become cleaner code in time. I tried zellij multiple times but despite years of development it still misses many things tmux provides. Inability to show/hide status bar[1] is the most annoying.
- imbnwa 23 hours agoYou can't rebind key maps to its session manager plugin, making it a no-go since I bind the same key that the plugin uses to select a directory or something. Thus, I can't create new sessions through it, have to do it from the command line.
- imbnwa 23 hours ago
- teekert 1 day agoNice, I like tmux, I use it daily, I live in it. I hope this version makes it easier to just scroll with the scroll wheel or ctrl-page-up/down, or ctrl tab through your panes, or just show the whole unconcatenated title in the bottom left ;)
Sorry I know this is not the place to complain, but it would be so nice!
- antonvs 1 day agoI use byobu which is basically an opinionated distribution of tmux. Scroll wheel works fine, as does Alt-PgUp/PgDn.
Ctrl-Tab probably won't work because terminals tend not to recognize it as different from Tab. But you might be able to bind Alt-Tab or some other such combo to cycle through panes in the tmux config. It should just be a one-liner.
- psyclobe 1 day agoOh neat!!
- psyclobe 1 day ago
- jayknight 1 day agoFor me scroll wheel just works. The other stuff wouldn't be hard to configure with `bind-key`. I use ctrl-space to cycle through panes in a window:
bind-key -n C-Space select-pane -t +1
- 0x457 1 day agoYou might like zellij more than tmux.
- antonvs 1 day ago
- sunshine-o 9 hours ago> I’d like to share the process of porting the original codebase from ~67,000 lines of C
I was surprised to learn tmux had such a "large" codebase, where does the complexity come from?
- df0b9f169d54 1 day agotmux has been used a lot of memory on my system, especially when scrolling buffer is large enough (I often have > 10k lines of things ).
I have often executed `pkill -9 tmux` and saved my day. I hope the rust version can help a bit here?
- da-x 12 hours agoI am using tmux with a 200,000 line history and have no issues.
Also, in 2017-2018 I contributed a few fixes for memory leaks related to buffer history, so make sure you are using a recent version.
- 01HNNWZ0MV43FF 1 day agoHow much is a lot? Even 10,000 lines of text should be on the order of megabytes, right?
- throwaway290 1 day agoTmux has configurable scrollback buffer size, maybe set-option -g history-limit something-smaller in your config?
- downrightmike 1 day agoLet us know
- da-x 12 hours ago
- seyz 23 hours ago> I don’t really have a good reason. It’s a hobby project. Like gardening, but with more segfaults.
Love it. You definitively deserve your +350 points!
- Jtsummers 23 hours agoIt's not my project, I saw that line and read the rest and thought it was interesting so I submitted it.
- Jtsummers 23 hours ago
- zoobab 8 hours agoI was searching the other day for a Tmux/Screen replacement in python, anyone?
- submeta 1 day agoTmux 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.
- kccqzy 1 day agoSurprised 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.
- johnisgood 1 day ago> 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.
- neuspadrin 1 day agoDid 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.
- johnisgood 23 hours agoYeah, 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?
- johnisgood 23 hours ago
- johnisgood 21 hours agoTo all the down-voters: worth reading: https://news.ycombinator.com/item?id=44459114
- neuspadrin 1 day ago
- kccqzy 1 day ago
- devy 16 hours agoWonder if anyone has tried these over flourishing AI code assist tools to supercharge the speed these porting projects? If so, what's the experience has been?
- chthonicdaemon 16 hours agoOP said they tried cursor and didn't experience a speedup over their vi macros.
- chthonicdaemon 16 hours ago
- osigurdson 16 hours agoI don't understand mouse support in tmux. tmux works great, then when you need to enable mouse support, it takes over everything works horribly.
- meindnoch 9 hours agoTmux is only 67k lines of C? That's surprisingly small.
- jimrandomh 18 hours agoThe author doesn't claim it, but worth stating explicitly: tmux is a security-critical piece of software that doesn't get the attention it deserves.
- philosophty 23 hours ago"Despite the generated code working, it was basically unmaintainable and 3x larger than the original C."
Which makes C2Rust seem pretty useless?
"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)."
And yet somehow a hand-ported (and still unsafe) rewrite of a C program in Rust is still almost 20% larger?
If I recall, the Go gc compiler was automatically converted from 80K lines of C to 80K lines of Go. A hand-ported version would have been much smaller.
- kevincox 22 hours ago> Which makes C2Rust seem pretty useless?
It does what took him 6 months in seconds. Of course it isn't perfect, failing to keep the name of constants being an obvious flaw. But presumably with a few improvements you could then spend some of that 6 months cleaning up the code and still save time. Sounds like C2Rust is almost there, but not quite yet.
> And yet somehow a hand-ported (and still unsafe) rewrite of a C program in Rust is still almost 20% larger?
Size is not a very useful metric. But the port is still half-done. He has got it working in Rust, so now he is ready to do the "hard" part of the port and actually rewrite the "basically C" code into idiomatic Rust. That is where you expect to get safety improvements and hopefully more readable code.
- philosophty 21 hours ago"It does what took him 6 months in seconds."
It generated unusuable garbage code in seconds, which is nothing like what he wrote by hand in six months.
"Size is not a very useful metric."
Size is a very useful metric. Counting tokens is more accurate estimate of "size" but lines of code is a good first approximation.
The entire purpose of high level languages is to make it possible to do more with less code. Size isn't all that matters but it's very important.
Rust code is not only more verbose than C it's also much more irregular and complex. That 20% increase in lines of code is probably more like 50% increase in code complexity, and this is without safety.
Just compare tokens in the post's example:
// cmd-kill-session.c RB_FOREACH(wl, winlinks, &s->windows) { wl->window->flags &= ~WINDOW_ALERTFLAGS; wl->flags &= ~WINLINK_ALERTFLAGS; } // cmd_kill_session.rs for wl in rb_foreach(&raw mut (*s).windows).map(NonNull::as_ptr) { (*(*wl).window).flags &= !WINDOW_ALERTFLAGS; (*wl).flags &= !WINLINK_ALERTFLAGS; }
- hamandcheese 15 hours agoC-flavored-rust is more verbose than C, sure, but that doesn't tell you much about idiomatic Rust.
- hamandcheese 15 hours ago
- philosophty 21 hours ago
- kevincox 22 hours ago
- sanity 23 hours agoHow do people feel about tmux vs zellij?
- imbnwa 23 hours agoZellij has interesting ideas, but it has a ways to go. You can arbitrarily rebind the base modes and their actions, but you're F'd if those conflict with a plugin's, which seem to all have hardcoded key binds.
- imbnwa 23 hours ago
- 1 day ago
- aldousd666 1 day agoGreat way to learn a new language!
- a-dub 1 day agothe one thing i wish tmux supported was remote connections to several backend instances.
- snizovtsev 1 hour agoI started working on this feature about a month ago: https://github.com/snizovtsev/tmux (it's in early experiments, not ready for a try).
Luckily tmux has a well-established "control mode" protocol designed for iTerm2 that can serialize internal state updates into a stream of text messages. So I do write client-side of this feature right inside tmux.
When it's ready, you will able to embed remote sessions inside local tmux instance by calling something like "ssh example.com tmux -CC attach". It will auto-detect "control mode" escape sequence and create special "remote session" you can switch into.
If you are interested, connect with me (snizovtsev@gmail.com) so I will notify when feature is ready and ask for early testing before making upstream proposal.
- Carrok 22 hours agoUse tmuxinator to start multiple ssh/mosh connections.
- snizovtsev 1 hour ago
- 20 hours ago
- stephenlf 19 hours agoFun!
- qwertywert_ 1 day agoYou weren't really lying when you said "100% (unsafe) Rust" eh..
- bakugo 23 hours agohttps://github.com/richardscollin/tmux-rs/issues/9
120 comments and nobody has mentioned the use-after-free triggered by closing a window. Rust truly is the safest language.
- hamandcheese 15 hours agoThe author described the port as "100% unsafe rust". What would you expect?
- hamandcheese 15 hours ago
- cchance 1 day agoNext step slowly porting unsafe code to safe rust? lol
- FullyFunctional 22 hours agowhy is that funny? I’ve done exactly this (in a processional setting): c2rust to get something functional and then incrementally rewrote the code while producing unit tests (approval tests via insta are particularly handy). The end result was a codebase which was much easier to maintain, with much better tooling and tests.
- FullyFunctional 22 hours ago
- bitbeq 22 hours agowfd
- johnisgood 1 day ago> 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
Sounds to me that this was a C -> Rust transpiler. :D
Edit: I was right, they used c2rust.
And then there is "// generated Rust code".
As for the code snippets on https://richardscollin.github.io/tmux-rs/, I can read the C version better than the generated Rust code.
Please let me know which one is more readable to you.// cmd-kill-session.c RB_FOREACH(wl, winlinks, &s->windows) { wl->window->flags &= ~WINDOW_ALERTFLAGS; wl->flags &= ~WINLINK_ALERTFLAGS; } // cmd_kill_session.rs for wl in rb_foreach(&raw mut (*s).windows).map(NonNull::as_ptr) { (*(*wl).window).flags &= !WINDOW_ALERTFLAGS; (*wl).flags &= !WINLINK_ALERTFLAGS; }
- jonpalmisc 1 day agoI don't think anyone is suggesting that the generated Rust is nicer than the original C.
It is auto-generated with the purpose of maintaining the exact same semantics as the C code, with no regard to safety, best practices, etc.—of course it is messier than actual, handwritten Rust.
As c2rust says in its documentation [1], it's meant to be the first step in an otherwise manual and incremental port of a codebase from C to Rust, and the author recognizes this in their closing remarks:
> The next goal is to convert the codebase to safe Rust.
[1] https://github.com/immunant/c2rust/raw/master/docs/c2rust-ov...
- johnisgood 23 hours agoWhat a wonderful image... and it ends there.
- johnisgood 23 hours ago
- Jaxan 1 day agoYou should read one paragraph further. They did use c2rust but found it really bad and threw that out of the window. Then did it manually. So in the end it is not c2rust.
- johnisgood 23 hours ago[flagged]
- johnisgood 23 hours ago
- _danielle_ 1 day agoI mean what else would you expect when C is ported directly to Rust? Rust programs typically aren't written anything like C programs are.
- johnisgood 23 hours ago[flagged]
- _danielle_ 22 hours agoThen why make the original comment? :')
- _danielle_ 22 hours ago
- johnisgood 23 hours ago
- 1 day ago
- jonpalmisc 1 day ago
- a-a-ron_b 20 hours ago> Usually once I reach the point where I’ve got blisters on my fingers I think it’s better to just take a break.
What a legend.
- denysvitali 1 day agoI like the initiative, but all this effort for ... unsafe Rust? I know it's a hot topic, and I hope the end goal is to have a memory-safe (and faster) tmux. I just hope the author doesn't stop here :)
Edit: As pointed out below, I'm stupid, it's stated in the article and I didn't read that part
- riskable 1 day agoIt's the first step in a two-step process:
It's the old, "get it working then fix it" process. In business that's normally a bad idea because you end up wasting more time than if you'd just done things correctly from the start but for a hobby project it's fine. Because then you're more likely to learn something and possibly—ultimately—end up with a better end product.1. Rewrite in (unsafe) Rust. 2. Update the code over time, moving towards safe Rust.
To a business, time your developers spend learning things (the hard way) is wasted.
To a hobbyist, taking the time to learn things is time well-spent.
- Jtsummers 1 day agoIn business it can also be a good idea, because if you're waiting for it to be done correctly you may never have a delivered product even if you have a working (but not 100% ideal) product. A compromise is to get a subset of your target capabilities working correctly and the rest unimplemented and deliver that before continuing on.
- Jtsummers 1 day ago
- verbatim 1 day agoAt the end of the article he states that the next step is to work toward safe Rust.
- denysvitali 1 day agoThank you! I skimmed through the article and didn't find this. Should have used CTRL+F :)
- johnisgood 1 day agoI highly doubt it is going to happen. Should have started from scratch, in Rust.
- denysvitali 1 day ago
- busterarm 1 day agoIt's not exactly a stupid thought. My immediate reaction was: 1) 25% more LOC, 2) in unsafe Rust, 3) for a tool that already has great maintainence.
The only reason this is at the top of HN is because of where Rust is on the Gartner Hype Cycle right now.
It's neat, but I wouldn't say useful.
- 1 day ago
- riskable 1 day ago
- uecker 1 day agoI like this post, one can learn a lot.
It seems automatically translating Rust to C is not a very good idea: "I threw away all of the C2Rust output and decided I would translate all of the files into Rust manually from C.". Neither seems doing it manually: "I introduced many bugs while translating the code. I’d like to share the process of discovering and fixing a couple." Or using AI: "That’s because when using cursor to translate the code it would still occasionally insert bugs, just like me. So, I spent as much time reviewing the generated code as it would have taken me to write it myself."
As a hobby project, all power to you. But otherwise, maybe better not rewrite working code....
- perching_aix 1 day agoThis reminded me of no-code: https://github.com/kelseyhightower/nocode
- antonvs 1 day ago> But otherwise, maybe better not rewrite working code....
Except that the eventual result allows for extension and improvements in a memory-safe language.
- uecker 1 day agoThere seems to be some rather irrational obsession about this.
- wat10000 1 day agoIt comes from the fact that nearly every useful program written in C has multiple security vulnerabilities just waiting to be found. In the unlikely event that you have a codebase that's free of them, you risk introducing one with any significant change.
- antonvs 1 day agoThings can seem irrational when you don't understand them.
Another comment in this thread hoped for "a brand new bulletproof tmux-resurrect". The reason there's a desire for such things is closely related to the limitations of non-trivial programs written in C.
They're harder to extend without bugs, harder for new team members to understand, and so on.
The "irrational obsession" has to do with advancing the state of the art beyond a primitive high-level assembler that was developed in the 1970s.
- wat10000 1 day ago
- hnlmorg 23 hours agotmux doesn’t really gain anything from memory safety because:
1. anything running in tmux already has execution rights and typically for the same user as tmux anyway.
2. Anyone who wanted to exploit tmux could just run ‘tmux -C’ and automatically get access to literally every interaction within tmux.
3. The software itself is already damn stable. I've never had it crash.
If you’re worried about someone exploiting your terminal then tmux is a terrible option, irrespective of whether it’s with written in C or Rust. And I say this as someone who absolutely loves tmux and uses it every day.
[edit]
And if you're worried about non-security related bugs affecting UX, then a rewrite in any language, regardless of the language, is a worse solution if your application has already been battle-tested for close to two decades. You're much better off creating something entirely new instead of porting code from one language to another because at least then you have new ideas instead of the same application but with new bugs in different places.
I don't say this because of some bias that Rust fanboys will assume I have. I love memory safe languages and think Rust is a great option for new projects. The point I'm making here is that a rewrite doesn't gain much for tmux SPECIFICALLY because tmux is already extremely stable.
- legobmw99 22 hours agoThere are reasons to be worried about additional safety beyond just security. My first thought when reading the article was it would be a huge bummer if a bug in tmux brought down a long-running or particularly stateful session. Of course, I’ve never encountered such a thing in my own usage, but if you could make it less likely that alone seems like a value add
- remram 21 hours agoYou forget that tmux is a terminal emulator. Trusted programs can have untrusted/attacker-controlled terminal output. If the program running inside tmux (e.g. cat, curl -s, weechat) can output malformed unicode or escape commands that trigger crashes or code execution, it is actually a huge problem.
- antonvs 22 hours agoAny program gains from memory safety. Memory safety is not just about security. It's about eliminating an entire class of bugs - buffer overflows, null pointer errors, use-after-free, the list goes on. They just so happen to be the kind of bugs that also tend to have serious security consequences.
I honestly don't get this relentless defense of 1970s-style programming. Do you think C is the pinnacle of programming language design? No? Then what's your point, exactly?
- legobmw99 22 hours ago
- uecker 1 day ago
- greenavocado 21 hours agoThis is funny, but unfortunately .NET went all in on the AI coding assistant kool-aid.
https://github.com/dotnet/runtime/pull/115762
https://github.com/dotnet/runtime/pull/115743
- tacker2000 21 hours agoWow, so this MS dev is trying out Copilot on the dotnet repo and doesnt even configure it correctly beforehand?
Or was that comment just a cop-out because Copilot’s results were complete nonsense?
- tacker2000 21 hours ago
- 19 hours ago
- perching_aix 1 day ago
- 19 hours ago
- ConanRus 1 day ago[flagged]
- deadbabe 1 day ago[flagged]
- 1 day ago
- jacobr1 1 day agoIt is intended as a incremental step to now write revise the unsafe rust into more idiomatic and safe rust. I haven't done rust port yet, but when translating other projects between languages I've also found it useful to first do a 1:1 port to ensure you have a system that works as intended, then refactor from there to clean things up.
- 1 day ago
- lolive 1 day ago[flagged]
- malithmcr 1 day agoRust is king
- alexvitkov 1 day agoI'll take a rust tmux if it runs on Windows. I'm currently kind of stuck on Windows and I didn't realize how much tmux means to me until Bill took it away :(
- joe_guy 1 day agotmux runs fine in WSL1/2
- nickjj 1 day agoYep I've been doing this since WSL 1 was available, it's rock solid.
My dotfiles at https://github.com/nickjj/dotfiles have an install script to automatically get everything (including tmux w/ plugins) set up on Debian, Ubuntu, Arch Linux or macOS. This includes native Linux and WSL 2 support.
- alexvitkov 1 day agoWSL is not Windows. Unless you can work entirely in WSL (and if I could I'd just use Linux) having to juggle fake filesystems, incompatible symlinks, two PATHs, three shells is a bit much.
- nickjj 1 day ago
- throwaway290 1 day agoWhy are you stuck on Windows?
- diggan 1 day agoSome programs only run on Windows, this isn't a new problem. Personally, the only reason I have a Windows installation on my desktop is because Ableton doesn't run (well) via Wine, so not a lot of options really.
- vunderba 23 hours agoThis. DAW support in Linux has always been kind of rough. It's slowly getting better though with stuff like Bitwig and Reaper.
- vunderba 23 hours ago
- mystifyingpoi 1 day agoMost people in big companies are stuck with Windows. But WSL2 is really amazing, even if a workaround in idea.
- finnjohnsen2 1 day agoAt least he's not stuck on MacOS
- diggan 1 day ago
- joe_guy 1 day ago
- echelon 1 day agoI wonder if the tmux maintainers would be interested in switching to this?
Transitioning more software from C to Rust is a great idea.
- yjftsjthsd-h 1 day agoMy understanding is that tmux is primarily an OpenBSD project, and rust isn't a good fit for them (for reasons that summarize to portability problems), so it is extremely unlikely. Also, this is a hobby project that currently is all unsafe, so there's not even any particular point. (EDIT: Of course, as it gets rewritten the latter point is likely to diminish)
- zozbot234 22 hours ago> rust isn't a good fit for them (for reasons that summarize to portability problems)
These problems are largely solved now that there's a working transpiler from Rust to C - https://github.com/FractalFir/rustc_codegen_clr
- yjftsjthsd-h 20 hours ago> This project is still early in its developement. Bugs, crashes and miscompilations are expected. DO NOT USE IT FOR ANYTHING SERIOUS.
> rustc_codegen_clr is only tested on Linux x86_64, with the CoreCLR runtime (more commonly known as simply the .NET runtime), on .NET 8. It should work on other platforms, but it is not guaranteed.
I guess it could eventually be an option, but today it looks more like a neat tech demo.
- yjftsjthsd-h 20 hours ago
- zozbot234 22 hours ago
- zppln 1 day agoSeems like a bit entitled to expect being able to go around rewriting stuff and then have the old maintainers maintain it.
- echelon 23 hours ago> to expect
I wonder, I don't expect.
This would require first for the Rust implementation to grow beyond a POC with code translation. In its current state I doubt it could entice any of the original authors or maintainers. But if it became capable and hardened and picked up velocity, then it would pose some major questions for having two similar pieces of software.
- echelon 23 hours ago
- joshka 1 day agoTaking a look at the source earlier, I'd guess probably not.
If you're going to move a project to rust, you'd want to actually make it look like rust. Currently it looks like C written in rust. That doesn't make anyone happy really.
(Obv. not a slight on the maintainer here, it's a personal project with a specific approach)
- uecker 1 day agoIt is a horrible idea.
- johnisgood 1 day agoIs this a joke? Have you seen the generated Rust code? This is not an actual rewrite.
- johnisgood 6 hours agoEven if it is not c2rust, it is worth checking out the source code, available here: https://github.com/richardscollin/tmux-rs/tree/main/src.
- aniforprez 1 day agoSeems like you didn't read the article at all. The author talks about writing it themselves after finding the automatically generated code not up to snuff.
- johnisgood 23 hours agoI did, but I am not having high hopes. Have you read the conclusion?
- johnisgood 23 hours ago
- johnisgood 6 hours ago
- yjftsjthsd-h 1 day ago
- blibble 23 hours agowhat is it with these re-implementations by different authors pinching the name of the original project?
you want to re-implement a well known project, fine
call it something else
- lolive 1 day agoD.mn!
I was hoping for the announcement of a brand new bulletproof tmux-resurrect.
But no, it is (just) tmux-(recodedIn)rust.
- z3ratul163071 1 day agorewriting old code in new language is the killer application for AI. should have used that instead of transpiler.
- dangoodmanUT 22 hours agoI love this, but the examples they show of their snippets are really, really not rust idiomatic.
Like they’ve basically thrown away all the rust patterns and just wrote a c program in rust (eg all the raw pointers)
- londons_explore 1 day agoLLM's are really good at translating one programming language into another.
In fact, I sometimes port code to another language and back just as a way to do code cleanup (or at least give ideas for things that could be cleaned up)
I wonder why OP didn't start from that as a starting point?
- Etheryte 1 day agoThis is discussed in the article? They tried cursor, but the bug rate was no better than their manual effort, so at least in this context, it did not work out.
- lab14 1 day agoBecause he didn't want to? He mentioned that for him, this is like a "gardening" project, so why take away the joy of programming just to become an AI operator?
- Etheryte 1 day ago
- alberth 23 hours agoSlightly OT: it didn’t dawn on me until recently that terminal multiplier (like tmux) is a terminal itself.
And as a result, you could be running the greatest / fastest / most feature rich desktop terminal … but if your multiplier doesn’t support something - it hinders your fancy desktop terminal.
Short 3 min video explained by Ghostty creator
- parhamn 1 day agoInteresting, this article and the comments make no mention of LLMs for the initial translation. Really surprising given that would be the first thing I'd reach for for a translation/porting task (though verification could get tricky).
Now I really wonder how a good model like Sonnet 4 would have performed.
- smj-edison 1 day agoCheck the bottom :)
> I did start trying out Cursor towards the end of the development process. I ended up stopping using it though because I felt like it didn’t actually increase my speed. It only saved me from finger pain. That’s because when using cursor to translate the code it would still occasionally insert bugs, just like me. So, I spent as much time reviewing the generated code as it would have taken me to write it myself. The only thing it saved was my hands. Doing this large amount of refactoring is really hard on your fingers.
- Jtsummers 1 day ago> Interesting, this article and the comments make no mention of LLMs.
- parhamn 1 day agoUsing Cursor to refactor the unsafe code is quite a different task than using an LLM to translate into safe rust. I was just curious how it would perform.
- parhamn 1 day ago
- keybored 1 day agoThe people demand the AI angle.
- TechDebtDevin 1 day agoIt wouldnt have gotten 2% finishd. It wouldn't have compiled. Its a waste of time to even consider.
- parhamn 1 day ago> It wouldnt have gotten 2% finishd
What do you mean by this? I'd assume the process would be very very incremental. One function + accompany tests at a time, verify and continue and keep moving up the tree.
It's an interesting problem because I imagine in the future lots of things will be ported like this.
- TechDebtDevin 1 day agoYou've been duped my friend.
-edit Good luck reading 100k lines of Claude generated Rust that you know nothing about lol. LLMS are not the tool for this.
- TechDebtDevin 1 day ago
- parhamn 1 day ago
- dkdcio 1 day ago[flagged]
- smj-edison 1 day ago