For the 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.
Zastanawiałem się chwilę czemu tyle bezsensownych narzędzi powstaje w #rustlang, lub przepisywane są coreutilsy, fd - find, ripgrep - grep itp. Z jednej strony można szukać optymalizacji algo, przyspieszać operacje (choć często kosztem po prostu zrównoleglania). Inni stwierdzą że przecież język taki bezpieczny, więc to lepiej. Jeszcze
Jest sporo, i będzie więcej ;) https://wykop.pl/wpis/80645449/zastanawialem-sie-chwile-czemu-tyle-bezsensownych-
( ͡° ͜ʖ ͡°) ¯\(ツ)/¯ #rustlang #programowanie
i jeszcze #heheszki
https://www.sinkedin.app/
Piękne :)