Golang notes – Telegram
Go 1.24 introduces a Swiss Table-based map implementation, delivering significant performance improvements to map operations in the language. This blogpost explains how the Swiss Table design-originally developed by Google-enables faster lookups, better memory usage, and improved efficiency for densely populated maps, all while maintaining full backward compatibility for Go developers.

https://www.bytesizego.com/blog/go-124-swiss-table-maps
Developing Kubernetes controllers is deceptively easy to start, but fraught with pitfalls that can lead to unreliable, unscalable, or hard-to-maintain systems. In this guide, Ahmet Alp Balkan outlines common mistakes and best practices for designing idiomatic APIs and robust controllers, drawing from real-world experience at large companies and lessons learned from the broader Kubernetes ecosystem.

https://ahmet.im/blog/controller-pitfalls/
👍2
This article explains how the Red Hat Go Toolset enables applications to use OpenSSL as a cryptographic backend, allowing Go programs to operate in FIPS mode for compliance with federal security standards. It outlines the steps required to build and validate FIPS-capable Go applications on Red Hat Enterprise Linux, highlighting key configuration requirements and runtime checks for secure deployment.

https://developers.redhat.com/articles/2025/01/23/fips-mode-red-hat-go-toolset
This blog post details how the author created native Go bindings for Apache OpenDAL-a Rust-based unified data access layer-without relying on CGo, by combining the purego library and libffi. The solution enables Go programs to call Rust (via C) functions directly, overcoming previous integration hurdles, simplifying cross-compilation, reducing binary sizes, and achieving better performance compared to traditional CGo-based bindings.

https://www.yuchanns.xyz/posts/bridging-rust-and-native-go/
This guide demonstrates how to deploy a server written in Go using GitLab CI/CD pipelines and Google Cloud, streamlining the process from code integration to scalable cloud deployment. By following the article, developers can automate building, containerizing, and launching Go applications on Google Cloud, leveraging modern DevOps practices for efficient and reliable releases.

https://about.gitlab.com/blog/2025/01/28/deploy-a-server-using-go-with-gitlab-google-cloud/
Go's new sync/test package introduces a set of tools for testing concurrent code, making it easier to catch subtle race conditions and concurrency bugs in your programs. This post on the Go Blog demonstrates how the package's deterministic scheduler and testing helpers can improve the reliability of your Go tests.

https://go.dev/blog/synctest
👍3
Luca Vallin's guide explores how to achieve comprehensive observability in Go applications using OpenTelemetry, covering logs, metrics, and traces through a unified telemetry package. By abstracting away configuration and backend integration, the guide helps developers seamlessly add monitoring and debugging capabilities to their services.

https://www.lucavall.in/blog/opentelemetry-a-guide-to-observability-with-go