fish RiiR is basically complete (aus.social)
from snaggen@programming.dev to rust@programming.dev on 08 Jan 2024 15:18
https://programming.dev/post/8299434

87261 rust lines added 76766 / 77063 C++ lines removed ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░ 99 %

#riir #rustlang

The reader and input stack have been ported, which is basically everything. There’s still some entry points in C++ (PR being reviewed) and test helper binary (might make a good external contribution as it’s entirely self-contained), but almost all of the C++ is gone, and with it large chunks of the FFI.

Now we just have the second 90% to go - making sure this rewritten fish is portable and distributable!

#rust

superbirra@lemmy.world on 08 Jan 2024 16:20 next collapse

lol why

sugar_in_your_tea@sh.itjust.works on 08 Jan 2024 16:21 next collapse

Why not?

cd_slash_rmrf@programming.dev on 08 Jan 2024 16:46 collapse

explanation here, it wasn’t just for the meme: github.com/fish-shell/fish-shell/pull/9512#issuec…

superbirra@lemmy.world on 09 Jan 2024 03:47 collapse

nice reading, thanks! Rust FTW BTW :)

BiggestBulb@kbin.run on 08 Jan 2024 20:27 next collapse

Love to see more stuff written in Rust

onlinepersona@programming.dev on 08 Jan 2024 23:00 collapse

It should then be easier to package in nix IINM.

77k lines rewritten… that’s nuts!