Halfrost-Field

halfrostCC-BY-SA-4.0活跃维护

冰霜之地的技术博客合集,深入拆解 Go、HTTP/2、密码学、算法与机器学习等源码,适合想系统啃底层实现和系统设计的工程师。

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

暂无版本13,253star +2 / 7 天1,876fork同步于 2026-11-10 17:27 UTC

怎么上手

由 README 提炼,执行前请确认
README 未说明
硬件要求按 README 说明

README 未说明

下载:源码 zip·GitHub Releases(安装包)本站不镜像安装包

项目说明

由 README 自动翻译提炼

冰霜之地的源码解析与系统设计笔记库,覆盖 vLLM、Go、机器学习等主题

冰霜之地的技术博客合集,深入拆解 Go、HTTP/2、密码学、算法与机器学习等源码,适合想系统啃底层实现和系统设计的工程师。

核心能力

  • 逐行拆解 vLLM 源码,从 generate() 到首个 token
  • 讲解 Go 语言 slice、map、channel、interface 等内部实现
  • 用 Google S2 与 Geohash 讲多维空间索引算法
  • 收录吴恩达机器学习课程全周笔记与 Notebook
  • 覆盖 JavaScript、Vue、Ghost 等前端与工程实践

容易踩的坑

仓库是文章与笔记集合,不是可安装运行的软件;部分内容为英文版,中文版需查看 README-zh.md;文章链接指向 contents-en 目录,路径需按实际仓库结构核对

内容由模型根据 README 生成,可能不完整或不准确,以官方文档为准。看原文 README

最近发版

0 个版本

暂无 release 数据(可能没有发版,或尚未同步)。

用户点评

登录用户的真实使用记录,可按版本和硬件筛选
共 0 条

    还没有人点评。第一个说出真实体验的人最有价值。

    README 原文

    未翻译

    Halfrost-Field

    ⭐️ 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

    ProjectVersionArticle
    vLLMv1 @ 6cf7b26bdvLLM 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

    ProjectVersionArticle
    Go1.16 darwin/amd64A 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 Searchgolang/geoUnderstanding 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 <T> share keynote

    🍉 Machine Learning

    ProjectVersionArticle
    Machine LearningAndrew Ng Stanford UniversityTable of Contents                                                            Week1 —— What is Machine LearningWeek1 —— Linear Regression with One Variable (Gradient Descent)Week2 —— Multivariate Linear Regression Week2 —— Computing Parameters AnalyticallyWeek2 —— Octave Matlab TutorialWeek3 —— Logistic RegressionWeek3 —— RegularizationWeek4 —— Neural Networks RepresentationWeek5 —— Neural Networks LearningWeek5 —— Backpropagation in PracticeWeek6 —— Advice for Applying Machine LearningWeek6 —— Machine Learning System DesignWeek7 —— Support Vector MachinesWeek8 —— Unsupervised LearningWeek8 —— Dimensionality ReductionWeek9 —— Anomaly DetectionWeek9 —— Recommender SystemsWeek10 —— Large Scale Machine LearningWeek11 —— Application Example: Photo OCR

    🚀 JavaScript

    ProjectVersionArticle
    JavaScriptECMAScript 6A JavaScript Beginner's Pitfall Diary Starting with JavaScript Scope Unraveling the Mystery of this & thatJSConf China 2017 Day One — JavaScript Change The World JSConf China 2017 Day Two — End And Beginning
    Vue.js2.3.4A 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
    Ghost1.24.8Ghost Blog Setup Diary Ghost Blog Upgrade Guide Flashy "New" Tricks for Ghost Blogs Optimizing Blog Performance Scores                                                            

    📝 Protocol

    ProjectVersionArticle
    HTTP1.1Overview of HTTP Basics
    HTTP2[RFC 7540] Hypertext Transfer Protocol Version 2 (HTTP/2)Unveiling HTTP/2: How HTTP/2 Establishes ConnectionsHTTP Frames and Stream Multiplexing in HTTP/2Frame Definitions in HTTP/2HTTP Semantics in HTTP/2Things to Note in HTTP/2Common Questions in HTTP/2[RFC 7541] HPACK: Header Compression for HTTP/2A Detailed Look at the HTTP/2 Header Compression Algorithm — HPACKPractical Examples of HTTP/2 HPACK[RFC 7301] TLS Application-Layer Protocol Negotiation Extension
    WebSocketVersion 13WebSocket for Full-Duplex Communication
    Protocol-buffersproto3Protobuf: An Efficient Data Compression and Encoding FormatProtobuf: An Efficient Data Serialization/Deserialization Format
    FlatBuffers1.9.0FlatBuffers Explained: SchemaFlatBuffers Explained: EncodeFlatBuffers Explained: FlexBuffers
    TCPOverview of TCP/IP BasicsAdvance_TCP
    TLSCryptographyOverview of CryptographyA Tour of Symmetric Encryption AlgorithmsA Tour of Public-Key Cryptography AlgorithmsWhat Is a Message “Fingerprint”?What Is a Message Authentication Code?Ubiquitous Digital SignaturesEverywhere You Look: Public-Key CertificatesThe Essence of Secrets: KeysThe Root of Unpredictability—Random Numbers
    TLSTLS 1.3How to Deploy TLS 1.3?[RFC 6520] TLS & DTLS Heartbeat Extension[RFC 8446] The Transport Layer Security (TLS) Protocol Version 1.3TLS 1.3 IntroductionTLS 1.3 Handshake ProtocolTLS 1.3 Record ProtocolTLS 1.3 Alert ProtocolTLS 1.3 Cryptographic ComputationsTLS 1.3 0-RTT and Anti-ReplayTLS 1.3 Compliance RequirementsTLS 1.3 Implementation NotesTLS 1.3 Backward CompatibilityTLS 1.3 Overview of Security Properties
    HTTPSTLS 1.2/TLS 1.3HTTPS: Revisiting the Basics (1) — IntroductionHTTPS: Revisiting the Basics (2) — The TLS Record Layer ProtocolHTTPS: 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 TLSHTTPS: Revisiting the Basics (6) — Extensions in TLS
    QUICv44How to Deploy QUIC?                                                            

    ❄️ As Time Goes By

    ProjectVersionArticle
    IntroductionIntroduction
    2017【As Time Goes By】 - How Programmers Can Maintain Rapid Growth Amid Shifting Tech Waves?
    2018【As Time Goes By】 - How to Think About Software Development?
    2019【As Time Goes By】 - Unwilling to Be a Poor Student, Striving to Be a Top Student, Ending Up Average
    2020【As Time Goes By】 - The Next Five-Year Plan Sets Sail!
    2021A Chronicle of Applying for CS Master's Programs in the U.S. in the Post-Pandemic Era                                                            

    ❗️ Errata

    • If you find any issues in the article, feel free to submit a PR or issue. Expert feedback and guidance are very welcome 🙏🙏🙏

    ♥️ Thanks

    Thanks for the Star!

    Star History Chart

    🌈 WeChat Official Account

    ©️ Reposting

    This work by halfrost is licensed under a Creative Commons Attribution 4.0 International License.