Stampy


Over the last couple of weeks I’ve been needing to do something very simple, in theory, type out a timestamp.

Yeah, I could just use one of the 1000’s of bash scripts, or write it out in Python in my sleep, but I wanted to use this as a excuse to get back into writing GoLang. I first fell in love with it over a Thanksgiving break. Took me a little over a week (40 hours) to get the hang of it well enough to write a nice little custom SNMP parser for the monitoring app PRTG.

The issue I originally ran into was that the Python single threaded app didn’t spit out the data needed fast enough. Sad to say it was easier for me to learn a while programming language, then, at the time, to learn how to do multi threading in Python🤣.

Fast forward to 2024, and I was a bit envious of all the neat CLI apps being written in Rust. I have nothing against it personally, I just don’t have the time or the patience to tackle something with that STEEP of a learning curve in my free time. IMHO GoLang is “fast enough” for most practical purposes. I tell everyone I know, if you can only learn one programming language, learn Python. If you can learn two, learn Python AND GoLang. They complement each other well, while being both easy to learn and very capable in the devops space.

Anyway, I hope you like Stampy 💝, drop me a comment or a email if you like it?

GitHub Repo stars

Thanks!

Comments

Share
Tinkering w/ GoLang
Reading Time: 2 min read

Date: 2024-09-08
Time: 21:17:36-05:00
Tags: dev, golang
---
Jelloeater


@ Feed 📰
@ Mast 🐘