VLang for Automation Scripting

Replacing Bash, Python, & Go with a language that’s SUPER FAST

Jeremy Cheng
Level Up Coding
Published in
6 min readDec 27, 2020

--

If you have been in the tech industry long enough, regardless of your role, chances are, you have used Bash or Python more than once to automate something that you would otherwise need to manually do repetitively.

I am obviously no exception and have written automation scripts since the early 2000’s. I have done projects from writing scripts to update thousands of servers for myself, to streamlining development/deployment processes for engineers, all the way to building application/firmware installers for end users. From my experience, there are three main factors that determine what scripting language I chose for each project:

  1. How simple is the syntax?
  2. How powerful is the language in handling complex automation issues?
  3. How fast does it execute?

In the past, if the automation project was straight forward with simple logic, I would always use bash scripts because it is relatively fast and the syntax is super straight forward. Automating a shell command is as simple as putting that command in a line of its own. For example, if I wanted the script to execute cat /etc/os-release all I had to do was something like this:

#!/bin/bash

--

--