Re:Fishshell rewrite-it-in Rust progress: 100%
by mixmastamyk on Monday January 15, 2024 @07:11PM
(#39007791)
Bash has been ported to windows probably more than once. There are a few clunky corners but it works well enough.
Not gonna say it’s easy but may be less difficult than it appears to some.
Re:Fishshell rewrite-it-in Rust progress: 100%
by simcop2387 on Monday January 15, 2024 @08:14PM
(#39008211)
Looks like rust is reasonably well working with cygwin/msys2 based on some github issues, https://github.com/rust-lang/rust/issues/79854 . Given that, I'd expect that this rust rewrite should work under them at least. Though it's obviously not a fully native build since you've got a bunch of compatibility layers involved to bring in those mentioned unixisms.
Is it theoretically, someday possible? Sure. Does rust bring us closer? Maybe a tiny bit, but honestly not much (it has a more elegant per-platform targeting/conditional compilation model but it’s nothing that wasn’t possible in C/C++, and we don’t use the “native” oob cross-platform std lib stuff like launching procs).
WSL is a priority target though.