halfrost /Halfrost-Field

✍🏻 Source Code Deep Dives, System Design & Engineering Blogs | Halfrost-Field 冰霜之地:源码解析、系统设计与工程实践笔记

★ 13,252⑂ 1,876
GoCreated 2017-04-02halfrost.com
+0
Daily
-1
Weekly
+5
Monthly
13,252
stars
1,876
forks
–
watchers
–
prs
–
issues
–
releases

README

Halfrost-Field

English  |  中文

















  












 ⭐️ 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 TokenEntrypoints: LLM, CLI, and the OpenAI-Compatible ServerV1 Process Architecture: API Server, EngineCore, and GPU WorkersEngineCore Loop: Request Lifecycle, Step, and Output ProcessingScheduler: Continuous Batching and Chunked PrefillKV Cache Manager and Paged KV Cache|


---------------------------

 🐳 Go

| Project | Version | Article |
|:-------:|:-------:|:------|
|Go|1.16 darwin/amd64| A Go Beginner's JourneyA First Look at How Go Compile Commands ExecuteIn-Depth Analysis of Go Slice InternalsHow 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. KingIn-Depth Study of Go interface InternalsThe Three Laws of Go reflection and Best PracticesInside Go Concurrency Primitives — Channel Internals|
|Spatial Search|golang/geo|Understanding n-Dimensional Space and n-Dimensional SpacetimeEfficient Multidimensional Point Indexing Algorithms — Geohash and Google S2How Is CellID Generated in Google S2?Finding the LCA in a Quadtree in Google S2The Magical De Bruijn SequenceHow to Find Hilbert Curve Neighbors in a Quadtree?How Does Google S2 Solve the Optimal Spatial Covering Problem?                                                             Code \ share keynote|


----------------------------

 🍉 Machine Learning


| Project | Version | Article |
|:-------:|:-------:|:------|
|Machine Learning|Andrew Ng Stanford University|Table of Contents                                                            Week1 —— What is Machine LearningWeek1 —— Linear Regression with One Variable (Gradient Descent)Week2 —— Multivariate Linear Regression 

Snapshot: 2026-11-10T09:35:25Z · Data license Apache-2.0 · JSON