ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Shell Speeds, Bash and PowerShell

    IT Discussion
    bash shell powershell
    5
    91
    5.9k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • scottalanmillerS
      scottalanmiller @dyasny
      last edited by

      @dyasny said in Shell Speeds, Bash and PowerShell:

      once you start getting into it, you find yourself wasting time on unneeded bashisms that are totally avoidable with a proper programming language.

      I just want a freaking array, dammit.

      ObsolesceO 1 Reply Last reply Reply Quote 2
      • D
        dyasny @scottalanmiller
        last edited by

        @scottalanmiller said in Shell Speeds, Bash and PowerShell:

        In reality, neither is a screaming fast language. It's just that they are both excellent at specific tasks. Python rocks at automation and scientific programming (but nothing beats R or Fortran for science.) Node rocks at stateless web apps. If speed alone were the concern, C would win, with Java right behind. And languages like Go being pretty high. But those types of languages tend to be very poor for automation writing.

        Actually, Java isn't anywhere near C or C++, it's closer to Python, with all the JVM madness and tuning and lack of hardware awareness. Python is also pretty horrible at threading. This is the main reason Go is becoming so popular - it is exactly great at the stuff Python lacks in, especially threading.

        scottalanmillerS 1 Reply Last reply Reply Quote 0
        • scottalanmillerS
          scottalanmiller @dyasny
          last edited by

          @dyasny yeah, but it does threading at least. Better than nothing. I've done Python threading for this and for remote automation tasks, even bad threading is screaming fast because there is so much latency everywhere else.

          D 1 Reply Last reply Reply Quote 0
          • D
            dyasny @scottalanmiller
            last edited by

            @scottalanmiller said in Shell Speeds, Bash and PowerShell:

            @dyasny yeah, but it does threading at least. Better than nothing. I've done Python threading for this and for remote automation tasks, even bad threading is screaming fast because there is so much latency everywhere else.

            That, again, depends on what you are automating. Blazing fast distributed systems are a reality, and those are usually not written in Python (yes Openstack is mostly Python, but we all know just what a huge pile of awful it is)

            1 Reply Last reply Reply Quote 0
            • ObsolesceO
              Obsolesce @scottalanmiller
              last edited by

              @scottalanmiller said in Shell Speeds, Bash and PowerShell:

              @dyasny said in Shell Speeds, Bash and PowerShell:

              once you start getting into it, you find yourself wasting time on unneeded bashisms that are totally avoidable with a proper programming language.

              I just want a freaking array, dammit.

              Huh? Arrays are easy in PS

              scottalanmillerS 1 Reply Last reply Reply Quote 0
              • scottalanmillerS
                scottalanmiller @Obsolesce
                last edited by

                @Obsolesce said in Shell Speeds, Bash and PowerShell:

                @scottalanmiller said in Shell Speeds, Bash and PowerShell:

                @dyasny said in Shell Speeds, Bash and PowerShell:

                once you start getting into it, you find yourself wasting time on unneeded bashisms that are totally avoidable with a proper programming language.

                I just want a freaking array, dammit.

                Huh? Arrays are easy in PS

                Except text processing is not, I don't need an array there because it's already too hard to use!

                ObsolesceO 1 Reply Last reply Reply Quote 0
                • ObsolesceO
                  Obsolesce @scottalanmiller
                  last edited by

                  @scottalanmiller said in Shell Speeds, Bash and PowerShell:

                  @Obsolesce said in Shell Speeds, Bash and PowerShell:

                  @scottalanmiller said in Shell Speeds, Bash and PowerShell:

                  @dyasny said in Shell Speeds, Bash and PowerShell:

                  once you start getting into it, you find yourself wasting time on unneeded bashisms that are totally avoidable with a proper programming language.

                  I just want a freaking array, dammit.

                  Huh? Arrays are easy in PS

                  Except text processing is not, I don't need an array there because it's already too hard to use!

                  What are you trying to do hypothetically?

                  scottalanmillerS 1 Reply Last reply Reply Quote 1
                  • scottalanmillerS
                    scottalanmiller @Obsolesce
                    last edited by

                    @Obsolesce said in Shell Speeds, Bash and PowerShell:

                    @scottalanmiller said in Shell Speeds, Bash and PowerShell:

                    @Obsolesce said in Shell Speeds, Bash and PowerShell:

                    @scottalanmiller said in Shell Speeds, Bash and PowerShell:

                    @dyasny said in Shell Speeds, Bash and PowerShell:

                    once you start getting into it, you find yourself wasting time on unneeded bashisms that are totally avoidable with a proper programming language.

                    I just want a freaking array, dammit.

                    Huh? Arrays are easy in PS

                    Except text processing is not, I don't need an array there because it's already too hard to use!

                    What are you trying to do hypothetically?

                    Just lots of different kinds of text processing. Any number of bits of data that I'd like to organize. Nothing comes to mind, but it's stuff I have to do regularly.

                    ObsolesceO 1 Reply Last reply Reply Quote 0
                    • ObsolesceO
                      Obsolesce @scottalanmiller
                      last edited by

                      @scottalanmiller said in Shell Speeds, Bash and PowerShell:

                      @Obsolesce said in Shell Speeds, Bash and PowerShell:

                      @scottalanmiller said in Shell Speeds, Bash and PowerShell:

                      @Obsolesce said in Shell Speeds, Bash and PowerShell:

                      @scottalanmiller said in Shell Speeds, Bash and PowerShell:

                      @dyasny said in Shell Speeds, Bash and PowerShell:

                      once you start getting into it, you find yourself wasting time on unneeded bashisms that are totally avoidable with a proper programming language.

                      I just want a freaking array, dammit.

                      Huh? Arrays are easy in PS

                      Except text processing is not, I don't need an array there because it's already too hard to use!

                      What are you trying to do hypothetically?

                      Just lots of different kinds of text processing. Any number of bits of data that I'd like to organize. Nothing comes to mind, but it's stuff I have to do regularly.

                      Like text from a CSV or a TXT file?

                      scottalanmillerS 1 Reply Last reply Reply Quote 0
                      • scottalanmillerS
                        scottalanmiller @Obsolesce
                        last edited by

                        @Obsolesce said in Shell Speeds, Bash and PowerShell:

                        @scottalanmiller said in Shell Speeds, Bash and PowerShell:

                        @Obsolesce said in Shell Speeds, Bash and PowerShell:

                        @scottalanmiller said in Shell Speeds, Bash and PowerShell:

                        @Obsolesce said in Shell Speeds, Bash and PowerShell:

                        @scottalanmiller said in Shell Speeds, Bash and PowerShell:

                        @dyasny said in Shell Speeds, Bash and PowerShell:

                        once you start getting into it, you find yourself wasting time on unneeded bashisms that are totally avoidable with a proper programming language.

                        I just want a freaking array, dammit.

                        Huh? Arrays are easy in PS

                        Except text processing is not, I don't need an array there because it's already too hard to use!

                        What are you trying to do hypothetically?

                        Just lots of different kinds of text processing. Any number of bits of data that I'd like to organize. Nothing comes to mind, but it's stuff I have to do regularly.

                        Like text from a CSV or a TXT file?

                        Sure, those are good examples.

                        1 Reply Last reply Reply Quote 0
                        • RojoLocoR
                          RojoLoco
                          last edited by

                          ^^^ It's always hilarious when a scumbag scammer thinks their input is valuable.

                          1 Reply Last reply Reply Quote 0
                          • 1
                          • 2
                          • 3
                          • 4
                          • 5
                          • 5 / 5
                          • First post
                            Last post