Using Go as a scripting language in Linux

At Cloudflare we like Go. We use it in many in-house software projects as well as parts of bigger pipeline systems. But can we take Go to the next level and use it as a scripting language for our favourite operating system, Linux?

gopher image CC BY 3.0 Renee French
Tux image CC0 BY OpenClipart-Vectors
Why consider Go as a scripting language
Short answer: why not? Go is relatively easy to learn, not too verbose and there is a huge ecosystem of libraries which can be reused to avoid writing all the code from scratch. Some other potential advantages it might bring:
- Go-based build system for your Go project:
go buildcommand is mostly suitable for small, self-contained projects. More complex projects usually adopt some build system/set of scripts. Why not have these scripts written in Go then as well? - Easy non-privileged package management out of the box: if you want to use a third-party library in your script, you can simply
go getit. And because the code will be installed in yourGOPATH, getting a third-party library does not require administrative privileges on the system (unlike some other scripting languages). This is especially useful in large Continue reading
GSMA expects attendance at the annual show to surpass 108K.
The test will look to cure choppy and blurry AR and VR services.
The company added file storage to its SD-storage lineup.
The intent-based services extend Cisco's Network Services Orchestrator.
The platform provides networks with containerized assurance, telemetry, and orchestration.
The company expects the technology will be commercially deployed later this year.
With 5G and the Internet of Things (IoT) dominating industry conversation, telcos and other communications service providers (CSPs) are embracing network function virtualization and the cloud, with a software-defined architecture. But to truly participate in the cloud economy, compete effectively with OTT rivals, and be positioned to capture the rich opportunities presented by 5G and...
The new Trusted IoT Alliance looks at the intersection of IoT, security, and blockchain.
The Pros and Cons of OpenStack eBrief from SDxCentral delves into the latest developments in OpenStack and its progress. Download today.