in this day and age, if i had to create a command line app, from zero, i would definetly start with go.. it has all the functionality in standard libs and the package manager can handle github repos for third-parties (like mongo or mysql drivers).. you just compile it and go! can be as simple than that? the right tool for the job.. if i would create a library that everyone could use and embed i would use C for that..…
The diversity of programming languages is due in part to the fact that developers enjoy looking at old problems from new angles. Doing so lets us to make creative re-use of libraries and practices that were invented to solve disparate problems, and good things invariably result.
Node.js is a staggering example, but every language you mentioned has its strengths.