Shelf

Notes for builders who want the why.

Cover Image for Go Internals - Interfaces

How interfaces are represented in Go 1.26: eface vs iface layouts, itab resolution, method dispatch, boxing and escape behavior, type assertions, and where interface costs actually show up in profiles.

Lucas LemosLucas Lemos

More stories

Cover Image for Go Internals - Built-in Types

Go Internals - Built-in Types

Go 1.26 slice, string, and map layouts: headers vs backing storage, what append and subslicing do at runtime, Swiss-table map groups and extendible hashing, and how built-in maps differ from the hash tables you built in the data structures series.

Lucas LemosLucas Lemos
Cover Image for Go Internals - Garbage Collector

Go Internals - Garbage Collector

A deep dive into the Go 1.26 garbage collector: tri-color marking, hybrid write barriers, concurrent mark and sweep, STW pauses, mark assist, and what GOGC and the memory limit actually control.

Lucas LemosLucas Lemos
Cover Image for Go Internals - Allocator

Go Internals - Allocator

A deep dive into the Go 1.26 heap allocator: pages and spans, size classes, the tiny allocator, and how mallocgc routes small objects through mcache, mcentral, and mheap with minimal locking.

Lucas LemosLucas Lemos
Cover Image for Go Internals - Memory

Go Internals - Memory

A deep dive into Go 1.26 memory layout: goroutine stacks and growth, the stack–heap boundary, escape analysis, stack maps, and how to read compiler and runtime decisions in practice.

Lucas LemosLucas Lemos
Cover Image for Go Internals - Scheduler

Go Internals - Scheduler

A deep dive into the Go 1.26 scheduler: goroutines vs OS threads, the G/M/P model, run queues and work stealing, blocking and the network poller, preemption, and how to observe scheduling in practice.

Lucas LemosLucas Lemos
Cover Image for Go Internals - Essentials

Go Internals - Essentials

Essentials for the Go Internals series: how a Go program is built, what the runtime does, which layers we will deep dive into, and how to read the source alongside these articles. Targeting Go 1.26.

Lucas LemosLucas Lemos
Cover Image for Data Structures with Golang - Part 5

Data Structures with Golang - Part 5

In part 5 we cover Graphs: representation strategies, traversal algorithms (BFS and DFS), shortest path with Dijkstra, and practical Go implementations.

Lucas LemosLucas Lemos
Cover Image for Data Structures with Golang - Part 4

Data Structures with Golang - Part 4

In part 4 we will cover Heaps and Priority Queues in depth: complete binary tree properties, array representation, sift-up/sift-down operations and practical Go implementations.

Lucas LemosLucas Lemos
Cover Image for Data Structures with Golang - Part 3

Data Structures with Golang - Part 3

In part 3 of this series we will do a deep dive into Hash Tables: hashing, collisions, chaining, load factor, resizing and a practical Go implementation with dynamic growth.

Lucas LemosLucas Lemos
Cover Image for Data Structures with Golang - Part 2

Data Structures with Golang - Part 2

Continuing our data structures series, today we will cover Trees and their most common variations: Binary Trees, Binary Search Trees and AVL Trees. We will discuss traversals, trade-offs and practical implementations in Go.

Lucas LemosLucas Lemos
Cover Image for Data Structures with Golang - Part 1

Data Structures with Golang - Part 1

In this article we will cover Lists and their most common variations in Golang. We will discuss use cases, trade-offs and practical implementations for each one.

Lucas LemosLucas Lemos
Cover Image for JWTs: what are those and how do they work

JWTs: what are those and how do they work

JWTs, JSON Web Tokens or Tokens, you know them by a lot of names, but in this article we are going to depict them in detail and show you how they work and what is the code to generate them like

Lucas LemosLucas Lemos
Cover Image for What is lithography?

What is lithography?

Did you ever thought about how processors are made? Or how does it work inside? Today I will try to explain a little of these topics for you and speak about lithography, which is one of the concepts present in the making of all CPUs today.

Lucas LemosLucas Lemos
Cover Image for Cryptographic Hash Functions

Cryptographic Hash Functions

In this article we will talk a little bit about cryptography focused into hash functions, differences to the cryptographic algorithms and why they are so useful.

Lucas LemosLucas Lemos
Cover Image for SEO in social media

SEO in social media

Many people still do not understand about SEO and site indexing, especially when related to social media engagement, so today we are going to cover this topic to help anyone who wants to have better engagement with their publications.

Lucas LemosLucas Lemos
Cover Image for Cluster vs Worker Threads

Cluster vs Worker Threads

There is a lot of discussions about the Cluster and Worker Threads modules in Node.js, but what are they after all? Are they the same? Similar? How do they work? We are going to answer all those questions with this article.

Lucas LemosLucas Lemos
Cover Image for Building charts in React Native

Building charts in React Native

It was always a challenge to build charts in React Native, today I will show you how to do it in a easy way using a library that builds the charts using an svg approach.

Lucas LemosLucas Lemos
Cover Image for Explaining hoisting in Javascript

Explaining hoisting in Javascript

Hoisting is a big doubt among developers, those who does not understand this concept are always wondering why some part of their code is not working. Today we are going to learn what is hoisting and how to avoid it (or use it consciously).

Lucas LemosLucas Lemos