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

    beyond bash shell scripting, what language should I use

    Scheduled Pinned Locked Moved Unsolved IT Discussion
    bashscriptinglinuxfedoradebianpythongo
    20 Posts 6 Posters 2.5k Views
    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.
    • stacksofplatesS
      stacksofplates
      last edited by

      Another plus for Go here is concurrency. Go makes concurrency really easy.

      1 Reply Last reply Reply Quote 0
      • JaredBuschJ
        JaredBusch @stacksofplates
        last edited by

        @stacksofplates said in beyond bash shell scripting, what language should I use:

        Prob the best option for this use case is to choose based on the libraries available for what you want to do.

        I assume that anything people recommend today would have most libraries.
        But that is part of why I ask.

        stacksofplatesS 1 Reply Last reply Reply Quote 0
        • stacksofplatesS
          stacksofplates @JaredBusch
          last edited by

          @jaredbusch said in beyond bash shell scripting, what language should I use:

          @stacksofplates said in beyond bash shell scripting, what language should I use:

          Prob the best option for this use case is to choose based on the libraries available for what you want to do.

          I assume that anything people recommend today would have most libraries.
          But that is part of why I ask.

          Yeah it depends. I've run into situations where the library might exist but it's garbage to use or just didn't exist, but you're right its not the norm anymore.

          After spending the past 9-10 months writing microservices in Python I don't mind it. I used to not like it at all. This looks promising for Python:

          https://github.com/kkroening/ffmpeg-python

          This one for Go:

          https://github.com/u2takey/ffmpeg-go

          1 Reply Last reply Reply Quote 2
          • 1
            1337 @JaredBusch
            last edited by 1337

            This post is deleted!
            1 Reply Last reply Reply Quote 0
            • scottalanmillerS
              scottalanmiller @JaredBusch
              last edited by

              @jaredbusch said in beyond bash shell scripting, what language should I use:

              I assume the first answer will be python, which I am not a fan of, but can use.

              Like it or hate it, I'd still recommend Python3 every time for this.

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

                @black3dynamite said in beyond bash shell scripting, what language should I use:

                While searching for alternatives to bash scripting, I noticed people mentioning Perl, Python, Go and Ruby.

                Yeah. Ruby is nice to write but... it isn't installed universally like Python (not that P3 is universal, but much closer to it.) I like Ruby way more than most people, and even I don't use it.

                Perl... OMG I hate Perl.

                Go is great as a language. But like Ruby, not installed generally. And fewer resources. If it was a greenfield new OS, yeah, Go for sure. But for practical reasons, Python I think.

                JaredBuschJ 1 Reply Last reply Reply Quote 0
                • JaredBuschJ
                  JaredBusch @scottalanmiller
                  last edited by

                  @scottalanmiller said in beyond bash shell scripting, what language should I use:

                  Go is great as a language. But like Ruby, not installed generally. And fewer resources. If it was a greenfield new OS, yeah, Go for sure. But for practical reasons, Python I think.

                  As these are systems that I control, there is no reason Go cannot be installed.

                  Between your comments and prior ones from @stacksofplates I think I might try Go in order to learn it.

                  stacksofplatesS 1 Reply Last reply Reply Quote 0
                  • stacksofplatesS
                    stacksofplates @JaredBusch
                    last edited by

                    @jaredbusch said in beyond bash shell scripting, what language should I use:

                    @scottalanmiller said in beyond bash shell scripting, what language should I use:

                    Go is great as a language. But like Ruby, not installed generally. And fewer resources. If it was a greenfield new OS, yeah, Go for sure. But for practical reasons, Python I think.

                    As these are systems that I control, there is no reason Go cannot be installed.

                    Between your comments and prior ones from @stacksofplates I think I might try Go in order to learn it.

                    You normally wouldn't install it anyway as it's not a scripting language. You'd just compile your binary and ship that to your systems.

                    JaredBuschJ 1 Reply Last reply Reply Quote 1
                    • JaredBuschJ
                      JaredBusch @stacksofplates
                      last edited by

                      @stacksofplates said in beyond bash shell scripting, what language should I use:

                      @jaredbusch said in beyond bash shell scripting, what language should I use:

                      @scottalanmiller said in beyond bash shell scripting, what language should I use:

                      Go is great as a language. But like Ruby, not installed generally. And fewer resources. If it was a greenfield new OS, yeah, Go for sure. But for practical reasons, Python I think.

                      As these are systems that I control, there is no reason Go cannot be installed.

                      Between your comments and prior ones from @stacksofplates I think I might try Go in order to learn it.

                      You normally wouldn't install it anyway as it's not a scripting language. You'd just compile your binary and ship that to your systems.

                      I completely misunderstood that about Go. Okay, I will do a bit of checking and decide what I want to do.

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

                        @jaredbusch said in beyond bash shell scripting, what language should I use:

                        @stacksofplates said in beyond bash shell scripting, what language should I use:

                        @jaredbusch said in beyond bash shell scripting, what language should I use:

                        @scottalanmiller said in beyond bash shell scripting, what language should I use:

                        Go is great as a language. But like Ruby, not installed generally. And fewer resources. If it was a greenfield new OS, yeah, Go for sure. But for practical reasons, Python I think.

                        As these are systems that I control, there is no reason Go cannot be installed.

                        Between your comments and prior ones from @stacksofplates I think I might try Go in order to learn it.

                        You normally wouldn't install it anyway as it's not a scripting language. You'd just compile your binary and ship that to your systems.

                        I completely misunderstood that about Go. Okay, I will do a bit of checking and decide what I want to do.

                        oh sorry, I figured you knew. That's why I never look at it, I don't want to deal with binaries in that way. But nothing wrong with that. Write it on your machine at home, compile, ship binary. Works just fine.

                        JaredBuschJ 1 Reply Last reply Reply Quote 0
                        • JaredBuschJ
                          JaredBusch @scottalanmiller
                          last edited by

                          @scottalanmiller said in beyond bash shell scripting, what language should I use:

                          @jaredbusch said in beyond bash shell scripting, what language should I use:

                          @stacksofplates said in beyond bash shell scripting, what language should I use:

                          @jaredbusch said in beyond bash shell scripting, what language should I use:

                          @scottalanmiller said in beyond bash shell scripting, what language should I use:

                          Go is great as a language. But like Ruby, not installed generally. And fewer resources. If it was a greenfield new OS, yeah, Go for sure. But for practical reasons, Python I think.

                          As these are systems that I control, there is no reason Go cannot be installed.

                          Between your comments and prior ones from @stacksofplates I think I might try Go in order to learn it.

                          You normally wouldn't install it anyway as it's not a scripting language. You'd just compile your binary and ship that to your systems.

                          I completely misunderstood that about Go. Okay, I will do a bit of checking and decide what I want to do.

                          oh sorry, I figured you knew. That's why I never look at it, I don't want to deal with binaries in that way. But nothing wrong with that. Write it on your machine at home, compile, ship binary. Works just fine.

                          As fixed tasks, this is not a bad solution. So I will keep it in mind.

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

                            @jaredbusch said in beyond bash shell scripting, what language should I use:

                            @scottalanmiller said in beyond bash shell scripting, what language should I use:

                            @jaredbusch said in beyond bash shell scripting, what language should I use:

                            @stacksofplates said in beyond bash shell scripting, what language should I use:

                            @jaredbusch said in beyond bash shell scripting, what language should I use:

                            @scottalanmiller said in beyond bash shell scripting, what language should I use:

                            Go is great as a language. But like Ruby, not installed generally. And fewer resources. If it was a greenfield new OS, yeah, Go for sure. But for practical reasons, Python I think.

                            As these are systems that I control, there is no reason Go cannot be installed.

                            Between your comments and prior ones from @stacksofplates I think I might try Go in order to learn it.

                            You normally wouldn't install it anyway as it's not a scripting language. You'd just compile your binary and ship that to your systems.

                            I completely misunderstood that about Go. Okay, I will do a bit of checking and decide what I want to do.

                            oh sorry, I figured you knew. That's why I never look at it, I don't want to deal with binaries in that way. But nothing wrong with that. Write it on your machine at home, compile, ship binary. Works just fine.

                            As fixed tasks, this is not a bad solution. So I will keep it in mind.

                            Right, no big deal in this case.

                            1 Reply Last reply Reply Quote 0
                            • 1 / 1
                            • First post
                              Last post