Halfrost-Field README

The project's README from github.com/halfrost/Halfrost-Field. As one markdown file: README.md.

Halfrost-Field

English  |  中文

visitor badge

GitHub

⭐️ Why I Created This Repository

People often say that reading the source code of open-source frameworks can significantly improve one’s skills, so I have also tried reading open-source framework source code and analyzing and understanding it in detail. Here I record my thoughts and insights from reading open-source framework source code, hoping they will be helpful to other developers. I will keep updating the articles in this repository; if you’d like to follow along, please give it a star.

📖 Table of Contents

🔥 LLM

Project Version Article
vLLM v1 @ 6cf7b26bd vLLM Source Walkthrough: From generate() to the First Token
Entrypoints: LLM, CLI, and the OpenAI-Compatible Server
V1 Process Architecture: API Server, EngineCore, and GPU Workers
EngineCore Loop: Request Lifecycle, Step, and Output Processing
Scheduler: Continuous Batching and Chunked Prefill

🐳 Go

Project Version Article
Go 1.16 darwin/amd64 A Go Beginner's Journey
A First Look at How Go Compile Commands Execute
In-Depth Analysis of Go Slice Internals
How to Design and Implement a Thread-Safe Map? (Part 1)
How to Design and Implement a Thread-Safe Map? (Part 2)
LRU / LFU in Interviews: Bronze vs. King
In-Depth Study of Go interface Internals
The Three Laws of Go reflection and Best Practices
Inside Go Concurrency Primitives — Channel Internals
Spatial Search golang/geo Understanding n-Dimensional Space and n-Dimensional Spacetime
Efficient Multidimensional Point Indexing Algorithms — Geohash and Google S2
How Is CellID Generated in Google S2?
Finding the LCA in a Quadtree in Google S2
The Magical De Bruijn Sequence
How to Find Hilbert Curve Neighbors in a Quadtree?
How Does Google S2 Solve the Optimal Spatial Covering Problem?
                                                            
Code <T> share keynote

🍉 Machine Learning

Project Version Article
Machine Learning Andrew Ng Stanford University Table of Contents
                                                            
Week1 —— What is Machine Learning
Week1 —— Linear Regression with One Variable (Gradient Descent)
Week2 —— Multivariate Linear Regression
Week2 —— Computing Parameters Analytically
Week2 —— Octave Matlab Tutorial
Week3 —— Logistic Regression
Week3 —— Regularization
Week4 —— Neural Networks Representation
Week5 —— Neural Networks Learning
Week5 —— Backpropagation in Practice
Week6 —— Advice for Applying Machine Learning
Week6 —— Machine Learning System Design
Week7 —— Support Vector Machines
Week8 —— Unsupervised Learning
Week8 —— Dimensionality Reduction
Week9 —— Anomaly Detection
Week9 —— Recommender Systems
Week10 —— Large Scale Machine Learning
Week11 —— Application Example: Photo OCR

🚀 JavaScript

Project Version Article
JavaScript ECMAScript 6 A JavaScript Beginner's Pitfall Diary
Starting with JavaScript Scope
Unraveling the Mystery of this & that
JSConf China 2017 Day One — JavaScript Change The World
JSConf China 2017 Day Two — End And Beginning
Vue.js 2.3.4 A Cross-Platform App for Three Platforms Built with Vue Full Stack + Electron
The Era of the Mega Front End (Part 1) —— Componentization in Vue and iOS
Ghost 1.24.8 Ghost Blog Setup Diary
Ghost Blog Upgrade Guide
Flashy "New" Tricks for Ghost Blogs
Optimizing Blog Performance Scores
                                                            

📝 Protocol

Project Version Article
HTTP 1.1 Overview of HTTP Basics
HTTP 2 [RFC 7540] Hypertext Transfer Protocol Version 2 (HTTP/2)
Unveiling HTTP/2: How HTTP/2 Establishes Connections
HTTP Frames and Stream Multiplexing in HTTP/2
Frame Definitions in HTTP/2
HTTP Semantics in HTTP/2
Things to Note in HTTP/2
Common Questions in HTTP/2
[RFC 7541] HPACK: Header Compression for HTTP/2
A Detailed Look at the HTTP/2 Header Compression Algorithm — HPACK
Practical Examples of HTTP/2 HPACK
[RFC 7301] TLS Application-Layer Protocol Negotiation Extension
WebSocket Version 13 WebSocket for Full-Duplex Communication
Protocol-buffers proto3 Protobuf: An Efficient Data Compression and Encoding Format
Protobuf: An Efficient Data Serialization/Deserialization Format
FlatBuffers 1.9.0 FlatBuffers Explained: Schema
FlatBuffers Explained: Encode
FlatBuffers Explained: FlexBuffers
TCP Overview of TCP/IP Basics
Advance_TCP
TLS Cryptography
Overview of Cryptography
A Tour of Symmetric Encryption Algorithms
A Tour of Public-Key Cryptography Algorithms
What Is a Message “Fingerprint”?
What Is a Message Authentication Code?
Ubiquitous Digital Signatures
Everywhere You Look: Public-Key Certificates
The Essence of Secrets: Keys
The Root of Unpredictability—Random Numbers
TLS TLS 1.3
How to Deploy TLS 1.3?
[RFC 6520] TLS & DTLS Heartbeat Extension
[RFC 8446] The Transport Layer Security (TLS) Protocol Version 1.3
TLS 1.3 Introduction
TLS 1.3 Handshake Protocol
TLS 1.3 Record Protocol
TLS 1.3 Alert Protocol
TLS 1.3 Cryptographic Computations
TLS 1.3 0-RTT and Anti-Replay
TLS 1.3 Compliance Requirements
TLS 1.3 Implementation Notes
TLS 1.3 Backward Compatibility
TLS 1.3 Overview of Security Properties
HTTPS TLS 1.2/TLS 1.3 HTTPS: Revisiting the Basics (1) — Introduction
HTTPS: Revisiting the Basics (2) — The TLS Record Layer Protocol
HTTPS: Revisiting the Basics (3) — An Intuitive Look at the TLS Handshake Process (Part 1)
HTTPS: Revisiting the Basics (4) — An Intuitive Look at the TLS Handshake Process (Part 2)
HTTPS: Revisiting the Basics (5) — Key Calculation in TLS
HTTPS: Revisiting the Basics (6) — Extensions in TLS
QUIC v44 [How

Halfrost-Field (halfrost/Halfrost-Field)

Searching Database…

What is this?Halfrost-Field is a personal technical blog archive by halfrost containing long-form deep-dive articles on source code analysis, system design, and engineering topics such as Go internals, vLLM/LLM serving, machine learning notes, and network protocols.
Is this a code library or a reading list of articles?It is not a software library — it is a curated table of articles grouped by project/topic (LLM, Go, Machine Learning, JavaScript, Protocol), each linking to a written deep-dive.
How is the content organized, and where should I start?The README is split into sections by topic (LLM, Go, Machine Learning, JavaScript, Protocol, etc.), each listing a project, its version, and links to the related articles; you just pick a topic you care about, like Go channel internals or TLS 1.3, and open the linked post.
Is everything available in English?The repo offers both English and Chinese versions, but it originated as a Chinese blog, so some older or newer entries may only exist in the original Chinese version while translations catch up.
Who is this collection for?It targets developers who want to go beyond using frameworks and understand how they work internally, covering topics from Go concurrency primitives to vLLM's scheduler and TLS 1.3 handshakes.
What does the vLLM section cover?It traces vLLM's internals step by step: from calling generate() to producing the first token, the LLM/CLI/OpenAI-compatible server entrypoints, the V1 API server/EngineCore/GPU worker architecture, and the scheduler's continuous batching and chunked prefill.
Is the content still being updated?Yes — the author explicitly states they keep adding new articles over time, with recent additions covering vLLM source code walkthroughs.
Why did the author start this repository?The author began recording personal insights from reading open-source framework source code, believing this deep-reading practice meaningfully improves a developer's skills, and wanted to share that with others.
What other topics besides Go and LLMs are covered?The collection also includes notes from Andrew Ng's machine learning course, JavaScript/Vue.js/Ghost blog deep dives, and protocol internals like HTTP/2, TLS 1.3, QUIC, WebSocket, and Protocol Buffers.
Creator
halfrost
Size
105.5 MB
Stars
13.2K
Updated
CommitSep 30
Age
9y
Commits · 90 Days