Pragmatic AI Labs

Rust GUI From Zero

Pragmatic AI Labs

Rust GUI From Zero

Noah Gift

位教师:Noah Gift

包含在 Coursera Plus

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

推荐体验

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

推荐体验

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

您将学到什么

  • Build native desktop applications in Rust using iced, FLTK, GTK4, relm4, and egui on Kubuntu Linux

  • Develop a counter, calculator with unit tests, to-do list, Pong game, password generator, Simon Says, and quiz app in real-time recorded sessions

  • Choose the right Rust GUI framework for a project, persist state to disk with serde or rusqlite, and ship a working binary

要了解的详细信息

可分享的证书

添加到您的领英档案

最近已更新!

May 2026

作业

3 项作业

授课语言:英语(English)

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

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

该课程共有10个模块

Frame why a native Rust GUI is the right surface when the browser is the wrong one — offline-first ingestion, microsecond latency, and data that must never leave the machine. Read CSV and query SQLite from a desktop app, plot with egui_plot and plotters, and trace the state-message-update-view loop common to retained-mode frameworks.

涵盖的内容

2个视频5篇阅读材料1个作业

Stand up a Kubuntu Rust development environment from scratch — install rustup and the toolchain, switch from Bash to Zsh, and configure Kate with an embedded terminal for tight edit/build cycles. Then implement the iced Sandbox trait to write a Hello World and a counter button that updates state in response to messages.

涵盖的内容

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

Build a 150-line iced calculator with a state struct, a message enum, and a view function — then add unit tests that exercise the calculator's update logic without launching a window. Walk through the core iced widgets (button, text, column, row, container) and modify each to extend the calculator's behavior.

涵盖的内容

4个视频2篇阅读材料

Extend the iced patterns from Week 3 into a list-driven application. Back the to-do list with a Vec of TodoItem values in state, wire up the iced text_input widget for new-item entry, and route per-row toggle and delete actions through the message enum so each item mutates independently.

涵盖的内容

1个视频2篇阅读材料

Walk through the official FLTK Pong example, then extend it across four iterations: add a pause button that halts the game loop, a slider that varies paddle speed at runtime, and a high-score file written to disk between sessions. Each step is a concrete state-and-message extension to a working game.

涵盖的内容

4个视频2篇阅读材料

Build a GTK4 password generator using the gtk4 crate's ApplicationWindow, Entry, and Button widgets, with the rand crate generating random ASCII characters. Add a ToggleButton that flips the Entry's visibility property to mask or reveal the generated password.

涵盖的内容

2个视频2篇阅读材料

Build a Simon Says game with relm4 — a Rust GUI framework that layers an ELM-style Component trait on top of GTK4. Lay out four colored buttons in a 2 by 2 grid, then add a Vec of Color values as the sequence and a playback timer that lights each button in turn before the player has to repeat the pattern.

涵盖的内容

2个视频

Build a quiz application in egui — an immediate-mode framework where the entire UI is redrawn every frame from current state. Define a Question struct, run a frame-counted timer that ticks down each draw, and accumulate a score across a multi-question quiz with a restart flow at the end.

涵盖的内容

2个视频2篇阅读材料

Compare iced, egui, GTK4, FLTK, and relm4 head-to-head — ergonomics, platform reach, async story, theming. Add provable contracts to GUI state with the assert_invariant macro so impossible UI states fail loudly at runtime, then ship a release with cargo-dist for cross-platform binaries, Flatpak for sandboxed Linux, and AppImage for portable distribution.

涵盖的内容

1个视频5篇阅读材料

A culminating practice assignment that synthesizes every framework and pattern from Weeks 1 through 9 into one shippable desktop application.

涵盖的内容

2篇阅读材料1个作业

位教师

Noah Gift
Pragmatic AI Labs
39 门课程2,802 名学生

提供方

Pragmatic AI Labs

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

Felipe M.

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

Jennifer J.

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

Larry W.

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

Chaitanya A.

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

通过 Coursera Plus 开启新生涯

无限制访问 10,000+ 世界一流的课程、实践项目和就业就绪证书课程 - 所有这些都包含在您的订阅中

通过在线学位推动您的职业生涯

获取世界一流大学的学位 - 100% 在线

加入超过 3400 家选择 Coursera for Business 的全球公司

提升员工的技能,使其在数字经济中脱颖而出

常见问题