3 ms·
There was an effort within Google SRE to use Go instead of bash for all the typical usages of bash. [1] Cloudflare uses Go similarly as a scripting language. [
by sa46 3y ago
There was an effort within Google SRE to use Go instead of bash for all the typical usages of bash. [1]
Cloudflare uses Go similarly as a scripting language. [2]
[1]: https://go.dev/solutions/google/sitereliability https://go.dev/solutions/google/sitereliability
[2]: https://blog.cloudflare.com/using-go-as-a-scripting-language-in-linux/ https://blog.cloudflare.com/using-go-as-a-scripting-language...
- emmelaich 3y agoAlso javascript as an alternative for bash.. Not an official Google product of course but ... https://github.com/google/zx https://github.com/google/zx >Bash is great, but when it comes to writing more complex scripts, many people prefer a more convenient programming language. JavaScript is a perfect choice, but the Node.js standard library requires additional hassle before using. The zx package provides useful wrappers around child_process, escapes arguments and gives sensible defaults.
- JdeBP 3y ago"JavaScript is a perfect choice"? My goodness!