Memory Arenas in GolangGolang periodically runs a garbage-collection algorithm to free up unreachable objects. For longer programs, this task itself eats up a lot of CPU. Along with this Go runtime delays garbage collection as long as possible to free as much as possible m...Jan 22, 2023 · 3 min read75asu.hashnode.dev
Dagger : Write your pipelines in your own languageInitially, it's a little overwhelming to understand another language just to write pipelines whether it's Groovy for Jenkins or YAML for other CI/CD tools. But now we have got another tool that enables you to write your pipeline in your language. It'...Dec 11, 2022 · 17 min read75asu.hashnode.dev
How serious is "Naked Returns" in GoNaked returns are the returns which return nothing. These issues appear in languages like C and as Go is highly inspired from that so it also hides this error under its cap. The point to note here is Go doesn't force the developer to add a return sta...Aug 25, 2022 · 3 min read75asu.hashnode.dev
How not to reveal secrets in logsIn Go, most of the devs use strings to store the secrets which later on can be seen in the log files or can be sent to some external logging tools. It just takes fmt or zap to see the secrets in log. Many incidents have already occurred saying user d...Aug 22, 2022 · 4 min read75asu.hashnode.dev
New guy for Garbage CollectionHow would you feel when your efficient Go code uses less memory than allocated but still managed to crash. Well this was the issue in the previous version, with the latest version(1.19). Go has introduced a new feature called GOMEMLIMIT. GOMEMLIMIT i...Aug 21, 2022 · 3 min read75asu.hashnode.dev