|
|
|
|
|
by jacques_chester
2676 days ago
|
|
> If you deal with Heroku, OpenStack, Cloud Foundry, etc. there is a ton of shell all over the place. With buildpacks, Travis CI, etc. Cloud Foundry Buildpacks were rewritten in Go and the (quite elaborate) automation for manufacturing them[0] is mostly test-driven Ruby these days. I can't claim credit for the former but I had a hand in the latter. Bash is not a sane production language. [0] https://github.com/cloudfoundry/buildpacks-ci (though I note someone snuck in some Crystal and I suspect it was Dave). |
|
For comparison, there's ~12,500 lines of Ruby.
Another issue I have is that if Kubernetes replaces its 44,000 lines of shell with 100,000 lines of Go (or probably more), that's a mixed result at best. There's just a lot of logic to express and shell does it concisely.
Of course, without a better shell, I don't blame them if they switch, but it's still a suboptimal state of affairs.