Photo by [Alain Gehri]( on [Unsplash](

Improve your Go code with Benchmarks

We often write code without thinking about how performant the code will be in the end. Often it is also not worth to sacrifice cleaner code in terms of readability and future maintainability for the sake of a few percents of performance, be it less CPU cycles needed to compute something or a smaller memory footprint. But as always even if you don’t need to save a few cycles or bytes, it is good to know what you could do to even get started in optimize for performance....

March 31, 2023 · 7 min · 1292 words · André Sterba
Photo by [drmakete lab]( on [Unsplash](

Why you should update your dependencies automatically

When was the last time you decided to update the dependencies of one of your projects? And not because you needed a new feature, just to get the latest security patches for your project which might be running on the public internet? Well yes, I got the same problem: never. I didn’t update most dependencies of my own software until sometime earlier last year. My TL;DR today is that the setup was very easy, and I can sleep better now, as I know I will receive a notification when one of my applications is vulnerable....

February 28, 2023 · 5 min · 965 words · André Sterba