Unsolved 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:
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:
-
This post is deleted! -
@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.
-
@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.
-
@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.
-
@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.
-
@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.
-
@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.
-
@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.
-
@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.