Coursera PlusMonthly 3 个月 课程4 折优惠 ,让你轻松掌握闪耀技能。立即节省

Pragmatic AI Labs

TUI from Zero

Noah Gift

位教师:Noah Gift

包含在 Coursera Plus

深入了解一个主题并学习基础知识。
中级 等级

推荐体验

5 小时 完成
灵活的计划
自行安排学习进度
深入了解一个主题并学习基础知识。
中级 等级

推荐体验

5 小时 完成
灵活的计划
自行安排学习进度

您将学到什么

  • Build a pure-Rust terminal-UI framework from the cell buffer up, with byte-deterministic snapshot tests in CI.

  • Apply the Elm-style init/update/view shape and composite layout to build production widgets (CpuGrid, ProcessTable, MemoryBar).

  • Create ptop-mini end-to-end — a Snapshot-fixture-driven process monitor that swaps to a live /proc reader without changing the view function.

要了解的详细信息

可分享的证书

添加到您的领英档案

最近已更新!

May 2026

作业

1 项作业

授课语言:英语(English)

了解顶级公司的员工如何掌握热门技能

Petrobras, TATA, Danone, Capgemini, P&G 和 L'Oreal 的徽标

该课程共有5个模块

Build the rendering core of a Rust TUI from first principles. Learn how a terminal is a 2D grid of cells, how double-width Unicode is kept safe, why ANSI escape sequences are the wire format, and how CellBuffer and the Widget trait give you one paint(rect) method that composes everything else.

涵盖的内容

6个视频6篇阅读材料

Wire user input to state through the Elm Architecture's three pure functions: init, update, and view. Model the counter app as a struct, define Msg as an exhaustive enum, and run crossterm's poll/read loop with raw mode. Map every KeyEvent through a total dispatch function so update never sees noise, and exit cleanly on Esc, Ctrl-C, or q.

涵盖的内容

6个视频4篇阅读材料

Compose widgets that do real work — Sparklines from eight Unicode block glyphs, BrailleGraphs at 4x resolution, a CpuGrid that wraps one cell per core, a ProcessTable that scrolls, and a MemoryBar that fills. Each widget is one paint(rect) call; together they form a live system-monitor TUI.

涵盖的内容

6个视频4篇阅读材料

Move from imperative paint calls to declarative scenes. Write .prs files that describe layout, then watch a 200-line recursive-descent compiler reconcile them against your widgets. Lock the look with probar snapshot tests — stringified CellBuffers, inline or file-backed goldens, byte-identical between runs, all running in CI without a TTY.

涵盖的内容

6个视频4篇阅读材料

Bring everything together: a deterministic Snapshot fixture feeds a single pure view that composes CpuGrid, Sparkline, MemoryBar, and ProcessTable into one ptop-mini dashboard, then swap the fixture for a /proc reader to run the same view live.

涵盖的内容

4个视频6篇阅读材料1个作业

位教师

Noah Gift
Pragmatic AI Labs
57 门课程3,697 名学生

提供方

Pragmatic AI Labs

从 Software Development 浏览更多内容

人们为什么选择 Coursera 来帮助自己实现职业发展

Felipe M.

自 2018开始学习的学生
''能够按照自己的速度和节奏学习课程是一次很棒的经历。只要符合自己的时间表和心情,我就可以学习。'

Jennifer J.

自 2020开始学习的学生
''我直接将从课程中学到的概念和技能应用到一个令人兴奋的新工作项目中。'

Larry W.

自 2021开始学习的学生
''如果我的大学不提供我需要的主题课程,Coursera 便是最好的去处之一。'

Chaitanya A.

''学习不仅仅是在工作中做的更好:它远不止于此。Coursera 让我无限制地学习。'

常见问题