Tumble Forth —— 从汇编到操作系统与 C 语言编译器
Tumble Forth – from assembly to OS with C compiler

原始链接: https://tumbleforth.hardcoded.net/

Collapse OS 和 Dusk OS 的创建者 Virgil Dupras 近期发布了一个名为《Tumble Forth》的新系列文章。该系列专为希望探索底层编程的资深 Web 开发人员设计,旨在通过结构化、循序渐进的叙述,揭开硬件和系统架构的神秘面纱。 该项目带领读者远离现代软件的复杂性,从 PC 平台的“裸机”编程开始。课程内容包括从零开始构建一个 Forth 解释器,过渡到 Dusk OS 环境,并最终构建一个简易的 C 编译器。通过跨越高级抽象,Dupras 希望为读者提供更广阔、更基础的计算视角。 该系列以通俗易懂的教学口吻编写,穿插着些许蹩脚的幽默,是一次进入系统编程世界的引导之旅。作者鼓励读者在阅读和实践的过程中随时提出疑问。

Hacker News 最新 | 过往 | 评论 | 提问 | 展示 | 招聘 | 提交 登录 Tumble Forth – 从汇编语言到带 C 编译器的操作系统 (hardcoded.net) 8 分,由 vicek22 发布于 1 小时前 | 隐藏 | 过往 | 收藏 | 讨论 | 帮助 指南 | 常见问题 | 列表 | API | 安全 | 法律 | 申请 YC | 联系 搜索:
相关文章

原文
Tumble Forth

Hello, my name is Virgil Dupras, author of Collapse OS and Dusk OS and I'm starting a series of articles that aims to hand-hold my former self, a regular web developer, into the rabbit hole leading to the wonderful world of low level programming. Hopefully, I can hand-hold you too.

The general goal is to broaden your perspectives on the subject of computing. I intend do to that through story arcs leading, step by step, to some nice and shiny objective. I also intend to work into a gimmick where in each episode, I get to tell one corny joke.

The target reader is a person who knows their way around programming, but is inexperienced in the area of low level programming. If you're the target reader but find some parts of this content difficult to understand, this is not intentional. In this case, or if you have any question or comment, reach out to me at [email protected].

Buckle up, Dorothy

In my “pilot” story arc, we peek in disgust in the abyss of modern software complexity and escape this dystopia by tumbling down the rabbit hole of low level development.

Starting from bare metal on the PC platform, we build a Forth from scratch, then switch to Dusk OS and then build a partial C compiler (just enough to compile our example code), again from scratch.

Table of Contents

  1. Buckle up, Dorothy
  2. Liberation through bare metal
  3. One sector to rule them all
  4. Words in the shell
  5. Do Look Up
  6. A tale of two stacks
  7. Baby's first steps
  8. The Unbearable Immediateness of Compiling
  9. From Dusk Till C
  10. Feeding the beast
  11. In the Eye of the Compiler
联系我们 contact @ memedata.com