[HN Gopher] Fishshell rewrite-it-in Rust progress: 100%
       ___________________________________________________________________
        
       Fishshell rewrite-it-in Rust progress: 100%
        
       Author : robin_reala
       Score  : 126 points
       Date   : 2024-01-15 16:00 UTC (7 hours ago)
        
 (HTM) web link (aus.social)
 (TXT) w3m dump (aus.social)
        
       | 38 wrote:
       | so does this mean a native Windows build now?
        
         | estebank wrote:
         | A Windows build is explicitly not in the plans, at least today,
         | from what I've seen.
        
           | ianlevesque wrote:
           | Yeah even if it built, a windows shell needs to do different
           | things. I've had some success running it in msys2 though:
           | https://evil.link/2022/03/31/using-fish-shell-on-windows/
        
             | ComputerGuru wrote:
             | Ironically the RIIR project makes this more difficult; we
             | lost support for Cygwin altogether and I think the msys2
             | stuff would need to be re-explored if it even remains
             | possible.
        
         | ComputerGuru wrote:
         | Absolutely not. Fish may be written in more of a cross-platform
         | language/ecosystem now but as a _unix_ shell, we make heavy use
         | of unixisms that have no windows equivalent throughout its
         | architecture, design, and implementation.
         | 
         | 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.
        
         | hnlmorg wrote:
         | If you're after a UNIX shell that runs on Windows without WSL /
         | mingw then there are a few options such as Murex and Elvish.
         | 
         | However personally I'd still recommend WSL if just for the
         | coreutils userland.
         | 
         | Disclaimer: I'm the author of Murex shell
        
           | em-bee wrote:
           | clever name choice, unfortunately, it makes search for it
           | almost imposible, because "murex shell" finds only pages
           | about marine life
           | 
           | would you share a link please?
        
         | madspindel wrote:
         | Use Nushell instead. It's also written in Rust:
         | https://www.nushell.sh/
        
       | fbdab103 wrote:
       | Would love for there to be an in-depth retrospective on what
       | worked/did not for the porting once they get closer to releasing
       | the first build.
        
         | ComputerGuru wrote:
         | The team is all agreed on the importance of such a write up at
         | some point -- but it's not clear we've experienced all the fun
         | stuff as of yet.
        
       ___________________________________________________________________
       (page generated 2024-01-15 23:01 UTC)