Fish Shell 4.0 Beta Released With C++ Code Ported To Rust

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • phoronix
    Administrator
    • Jan 2007
    • 67365

    Fish Shell 4.0 Beta Released With C++ Code Ported To Rust

    Phoronix: Fish Shell 4.0 Beta Released With C++ Code Ported To Rust

    The Fish Shell as the interactive, user-friendly command line shell debuted its 4.0 beta release ahead of the holidays. Notably in this release is porting the C++ code over to the Rust programming language...

    Phoronix, Linux Hardware Reviews, Linux hardware benchmarks, Linux server benchmarks, Linux benchmarking, Desktop Linux, Linux performance, Open Source graphics, Linux How To, Ubuntu benchmarks, Ubuntu hardware, Phoronix Test Suite
  • davidbepo
    Senior Member
    • Nov 2014
    • 941

    #2
    dies from cringe

    Comment

    • Shnatsel
      Senior Member
      • Jan 2012
      • 143

      #3
      Just to preempt anyone taking that justification for the port at face value:

      Since this PR clearly escaped our little bubble, I feel like we should add some context, because I don't think everyone caught on to the joking tone of the opening message (check https://fishshell.com/ for similar writing - we are the shell for the 90s, after all), and really got what the idea here is.

      You can find the actual justification here.

      Comment

      • Quackdoc
        Senior Member
        • Oct 2020
        • 5072

        #4
        C++ is painful to code in, Rust is not. That was good enough reason for all the stuff I work on lol.

        EDIT: that being said, I'm not a fan of these "modern shells" about the most modern I can take is zsh. Lately, been playing around with brush. very nice tool

        Comment

        • access
          Senior Member
          • Dec 2019
          • 199

          #5
          10/10 flawless article

          Those holiday presents aren't gonna pay for themselves.

          Comment

          • skeevy420
            Senior Member
            • May 2017
            • 8656

            #6
            Originally posted by Shnatsel View Post
            Just to preempt anyone taking that justification for the port at face value:

            You can find the actual justification here.
            I'll even sum that up so we don't have to strain archive.org:

            "Rust does the job and people on the team know the language."

            That's a good enough explanation for me. Those other comments just make them seem like fun people.

            Comment

            • skeevy420
              Senior Member
              • May 2017
              • 8656

              #7
              Originally posted by Quackdoc View Post
              C++ is painful to code in, Rust is not. That was good enough reason for all the stuff I work on lol.

              EDIT: that being said, I'm not a fan of these "modern shells" about the most modern I can take is zsh. Lately, been playing around with brush. very nice tool
              Same here with Zsh. I can't really call it modern since I've been using it for over a decade. I've checked out other things like Nushell and Fish, but I always go back to Zsh. I'm just comfortable with it.

              Comment

              • siyia
                Phoronix Member
                • Dec 2019
                • 63

                #8
                Cringe, you can add as many threads as you like in C++ for concurrency.
                Last edited by siyia; 19 December 2024, 10:41 AM.

                Comment

                • Guiorgy
                  Phoronix Member
                  • Jul 2024
                  • 51

                  #9
                  Originally posted by skeevy420 View Post
                  I'll even sum that up so we don't have to strain archive.org:

                  "Rust does the job and people on the team know the language."

                  That's a good enough explanation for me. Those other comments just make them seem like fun people.
                  You summed up why they chose Rust, but you didn't sum up why they're moving away from C++ in the first place:
                  • Working with Unicode strings is difficult
                  • Working with threads/concurrency is difficult
                  • Users using different compilers (GCC, Clang, VC, etc..) is annoying
                  • Language is slow to update, with little important features (they are still on C++11)
                  • CMake was a mistake that should've never been created (they only said they don't want to use it )

                  Comment

                  • Quackdoc
                    Senior Member
                    • Oct 2020
                    • 5072

                    #10
                    Originally posted by skeevy420 View Post

                    Same here with Zsh. I can't really call it modern since I've been using it for over a decade. I've checked out other things like Nushell and Fish, but I always go back to Zsh. I'm just comfortable with it.
                    yeah, even with ohmyzsh it does so much that I just don't get. I do try to use nu and fish, but I always wind up comming back to zsh, which hurts because im a massive rust fanboy lol

                    Comment

                    Working...
                    X