languages

languages

149 bookmarks
Newest
Blog Posts
Blog Posts
Get insights into building modern Go applications from the best Go veterans. Our blog covers best practices, tips, and tricks for creating high-performance, advanced Go apps.
·threedots.tech·
Blog Posts
An Optimization That's Impossible in Rust! | ltungv
An Optimization That's Impossible in Rust! | ltungv
In this article, I'll describe how I implemented German string and the challenges of doing so in Rust. Specifically, I'll examine how to enable shared ownership for such data structure. Providing unique ownership is relatively trivial, and there is already a nicely written tutorial from the Rustonomicon teaching you how to [implement a `Vec`], which is not much different from a `String`. But first, let's talk about the concept of German string.
·tunglevo.com·
An Optimization That's Impossible in Rust! | ltungv
Phantom Menace: memory leak that wasn't there · FlakM blog
Phantom Menace: memory leak that wasn't there · FlakM blog
I share the story of a frustrating debugging journey with a Rust application that was migrated to Kubernetes. Everything seemed fine until a suspected memory leak caused our application to scale uncontrollably. I dove deep into tracing memory usage with eBPF, heaptrack, and jemalloc profiling tools. The real twist came when I discovered that the memory leak was a phantom menace - a misinterpretation of Kubernetes memory metrics rather than a genuine issue. This post details the steps I took, the tools I used, and the lessons I learned about problem-solving, metric accuracy, and effective debugging in containerized environments.
·flakm.com·
Phantom Menace: memory leak that wasn't there · FlakM blog
One Billion Row Challenge in Golang - From 95s to 1.96s
One Billion Row Challenge in Golang - From 95s to 1.96s
In the One Billion Row Challenge, the task is to write a program capable of reading an 1-billion-line file (with around 13GB), process and aggregate temperature readings from various weather stations, and present a report of the results on console. In this article, I share my experience attempting the challenge with Golang, providing the details of how I achieved 1.96 seconds.
·r2p.dev·
One Billion Row Challenge in Golang - From 95s to 1.96s