I never stop learning, do you? - personal blog of a forever unskilled software engineer

Using copy with strings


Leveraging Go's `copy` function for efficient string manipulation
Read more ⟶

Splittable and unsplittable functions


What the nosplit annotation does
Read more ⟶

Brandolini's Law in the GPT Era

The bullshit asymmetry principle has never been more true than today
Read more ⟶

noCopy convention

Purpose, usage, and history of the noCopy convention.
Read more ⟶

Coroutines in Go

Exploring the implementation of coroutines in Go and the new iter package.
Read more ⟶

Preemption in Go: an introduction

A short explanation of what is preemption and how it works
Read more ⟶

Why am I doing it?

Exploring the deeper motivations behind programming
Read more ⟶

Deconstructing Go's magical defer

Go's defer statement: going from magical to logical
Read more ⟶

This is your brain on false sharing

A tale of CPU caching and memory allocation: unveiling false sharing's impact on Go's performances.
Read more ⟶

Let's dive: a tour of sync.Pool internals

A thorough exploration of Go's sync.Pool, revealing its concurrency mechanisms, memory management, and practical performance strategies.
Read more ⟶