Live Stellar Workshop | Week 2, Day 2: Rust Variables & Data Types
Автор: SM Web Systems
Загружено: 2026-02-19
Просмотров: 4
Описание:
Welcome back to Week 2, Day 2 of the Live Stellar Workshop! Continuing our Rust Crash Course, today we dive into the foundational building blocks of the language: Variables, Mutability, and Data Types.
When engineering secure smart contracts on the Stellar network or developing robust full-stack solutions, understanding exactly how your data is stored and manipulated at a systems level is critical. In this session, we break down Rust's strict type system, explore the difference between scalar and compound types, and look at how Rust's default immutability protects your applications from unexpected bugs.
Course Resources & Links:
GitHub Repository (Code & Notes): https://github.com/smwebsystems/rust-...
Presentation Slides: https://tinyurl.com/5dyecuuc
Watch the Full Workshop Playlist: • Build, Learn & Deploy on Stellar - 8 Week ...
What We Cover in This Session:
Variables & Mutability: Understanding let vs. let mut and why Rust makes variables immutable by default.
Constants: How const differs from standard variables in global scopes.
Shadowing: A powerful Rust feature for transforming data without creating new variable names.
Scalar Data Types: Deep dive into Integers, Floating-point numbers, Booleans, and Characters.
Compound Data Types: Grouping multiple values together using Tuples and Arrays.
Practical Coding: Writing and running examples in our local Cargo environment.
Timestamps:
(Note: Adjust these placeholders to match the exact pacing of your live stream!)
0:00 - Welcome Back & Day 1 Recap
3:15 - Variables and Default Immutability
9:30 - Making Variables Mutable (let mut)
14:00 - Constants vs. Variables
18:45 - The Concept of Shadowing in Rust
24:20 - Scalar Types: Integers, Floats, Bools & Chars
32:10 - Compound Types: Tuples and Arrays
40:30 - Live Coding Examples & Exercises
48:00 - Q&A and Homework for Next Session
Homework: Check the GitHub repository for today's practice exercises. Try creating different data types and deliberately causing compiler errors by mutating immutable variables to get comfortable with Rust's error messages!
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: