4 ms·
I didn't realize fish was written in Rust, and it was my primary shell for a few years. Looks like they couldn't resist the rewrite it in Rust meme :-D https:/
by Zambyte 1y ago
I didn't realize fish was written in Rust, and it was my primary shell for a few years. Looks like they couldn't resist the rewrite it in Rust meme :-D
https://github.com/fish-shell/fish-shell/tree/c2eaef7273c5558678bc0465bdf5bdaef90859cd/src https://github.com/fish-shell/fish-shell/tree/c2eaef7273c555...
vs the C++
https://github.com/fish-shell/fish-shell/tree/d9d3557fcfbce1fe603623f536242c20e40b599b/src https://github.com/fish-shell/fish-shell/tree/d9d3557fcfbce1...
- nicce 1y agoThey have pretty good writings about the journey. Sounds like they eliminated ”accidentally” quite many bugs in the process. Initial motivation: https://github.com/fish-shell/fish-shell/pull/9512#issuecomment-1410820102 https://github.com/fish-shell/fish-shell/pull/9512#issuecomm...
- kstrauser 1y agoThat's a very new change. The first Rust beta version just came out in December 2024: https://fishshell.com/blog/fish-4b/ https://fishshell.com/blog/fish-4b/ I switched to the beta on the day it was released and haven't had one single issue with it. That was the smoothest rewrite I've ever seen.
- Zambyte 1y agoGlad it went well! I'd still be using it if it weren't for the fact that Guix didn't play very nicely with it when I switched to that. Might give it another shot at some point though, it was very nice.