Nullbody Notes
Author

Nullbody Notes

Go backend development, learning open-source project source code together, focusing on simplicity and practicality.

60
Articles
0
Likes
0
Views
0
Comments
Recent Articles

Latest from Nullbody Notes

60 recent articles
Nullbody Notes
Nullbody Notes
Oct 23, 2025 · Backend Development

Getting Started with gRPC: Build a Simple Go Client and Server

This article walks through creating a gRPC client and server in Go, covering proto file creation, option go_package usage, import statements, protoc compilation, ordinary and streaming RPC calls, file transfer via streams, and the underlying HTTP/2 reasons for gRPC's streaming capabilities.

GoHTTP/2client-server
0 likes · 14 min read
Getting Started with gRPC: Build a Simple Go Client and Server
Nullbody Notes
Nullbody Notes
Apr 15, 2025 · Interview Experience

My Journey of Repeating LeetCode: Turning Obstacles into Interview Success

The author shares a personal roadmap of solving over 150 high‑frequency Go algorithm problems from CodeTop, emphasizing relentless repetition, concrete examples like the compressed prefix tree in Gin, and practical tips for turning algorithm practice into interview confidence.

CodeTopCompressed Prefix TreeGo
0 likes · 7 min read
My Journey of Repeating LeetCode: Turning Obstacles into Interview Success
Nullbody Notes
Nullbody Notes
Aug 10, 2024 · Backend Development

How to Build an Expiring Single-Node Lock in Go

This article explains how to implement a single‑process lock in Go that records an owner, allows only the owner to unlock, and automatically releases the lock after a specified timeout, providing full source code and a walkthrough of the key functions.

ConcurrencyExpirationGo
0 likes · 5 min read
How to Build an Expiring Single-Node Lock in Go
Nullbody Notes
Nullbody Notes
Jul 25, 2024 · Blockchain

Deep Dive into go-libp2p Swarm: Source Code Analysis and Walkthrough

This article provides a detailed, step‑by‑step analysis of the go‑libp2p Swarm implementation, covering host creation, configuration defaults, transport registration, server listening, stream multiplexing with yamux, and the client dialing workflow including dial synchronization, backoff handling, and connection pooling.

Swarmgo-libp2plibp2p
0 likes · 47 min read
Deep Dive into go-libp2p Swarm: Source Code Analysis and Walkthrough
Nullbody Notes
Nullbody Notes
Jul 14, 2024 · Game Development

Building a Tank Battle Game in Go with Ebiten

This article walks through creating a tank‑battle game in Go using the Ebiten engine, covering repository setup, required tools, code organization, the core Update and Draw loops, and the mathematical formulas—rotation matrix, cross product, dot product, and the separating axis theorem—used for collision detection.

Collision DetectionEbitenGame Development
0 likes · 7 min read
Building a Tank Battle Game in Go with Ebiten
Nullbody Notes
Nullbody Notes
Jun 29, 2024 · Backend Development

Building a Lightweight Go IM from Scratch

This article walks through creating a distributed instant‑messaging system in Go, covering the full tech stack, Docker‑based and local startup methods, configuration files, the end‑to‑end request flow, and detailed code examples for RPC, Redis queues, WebSocket delivery and the internal bucket architecture.

DockerRPCRedis
0 likes · 17 min read
Building a Lightweight Go IM from Scratch
Nullbody Notes
Nullbody Notes
Jun 20, 2024 · Game Development

Building a Desktop Pet with Go and Ebiten

This article walks through creating a Go‑based desktop pet that follows the mouse, reacts to clicks with sounds and visual changes, and runs transparently using the Ebiten game engine, complete with code snippets, configuration options, and launch instructions.

Desktop PetEbitenGame Development
0 likes · 10 min read
Building a Desktop Pet with Go and Ebiten
Nullbody Notes
Nullbody Notes
Jun 17, 2024 · Backend Development

How Go’s HTTP Standard Library Is Implemented

This article walks through Go’s net/http package, explaining how http.HandleFunc registers handlers via DefaultServeMux, how ServeMux stores routes, performs exact and longest‑prefix matching, and how to extend the server with custom ServeMux and middleware for panic recovery and request timing.

DefaultServeMuxGoServeMux
0 likes · 17 min read
How Go’s HTTP Standard Library Is Implemented
Nullbody Notes
Nullbody Notes
May 2, 2024 · Backend Development

Building an Asynchronous Queue in Go: Design, Demo, and Benchmark

This article explains why high‑concurrency systems need an asynchronous queue, walks through a producer‑consumer design implemented with Go and Gin, shows a complete code demo with configurable workers and capacity, and provides benchmark instructions to evaluate its performance.

EasyQueueGoasynchronous queue
0 likes · 13 min read
Building an Asynchronous Queue in Go: Design, Demo, and Benchmark