22 Jan, 2025
August 22, 2024 [Programming, Programming Languages, Rust, Tech, Videos] Wrote a mini client to connect to our async Rust chat server. To see the training code as I recorded the…
We’ve made a toy decomposer, but it won’t last long. We need to make it a little more precise. In particular, we must be able to look forward, and then…
06 September 2024 [Programming, Programming Languages, Rust, Tech, Videos] There is a special mode in Rust programs called unsafe – why do we need it? Series: Language basics, More syntax,…
07 September 2024 [Programming, Programming Languages, Rust, Tech, Videos] That unsafe keywords in Rust mean two things: “You have to read the docs!” or “I promise I’ve read the docs…
Last time we gave a task statement. This time: break it down, so we’re ready to execute! You can find the source code at codeberg.org/andybalaam/milk and more of my stuff…

Rust 101 – 41: Exercises for module E (q2b)

August 22, 2024 [Programming, Programming Languages, Rust, Tech, Videos] Wrote a mini client to connect to our async Rust chat server. To see the training code as I recorded the video: git clone cd teach-rs git checkout 95d9927 Series: Language basics, More syntax, Traits and generics, Building applications, Concurrency and parallelism, Trait objects, asynchronousNot safe, […]

1 min read

Mini-rust in Rust 012: Parsing with backtracking

We’ve made a toy decomposer, but it won’t last long. We need to make it a little more precise. In particular, we must be able to look forward, and then backward. You can find the source code at codeberg.org/andybalaam/milk and more of my stuff at artificialworlds.net Game Online Gaming Hub A gaming hub can refer […]

1 min read

Rust 101 – 42: Why do we need to be unsafe?

06 September 2024 [Programming, Programming Languages, Rust, Tech, Videos] There is a special mode in Rust programs called unsafe – why do we need it? Series: Language basics, More syntax, Traits and generics, Building applications, Concurrency and parallelism, Trait objects, Async, Not safe This part (Async): 42: Why is it unsafe?43: Meaning of unsafe, 44: […]

1 min read

Rust 101 – 43: Two meanings of “unsafe” in Rust

07 September 2024 [Programming, Programming Languages, Rust, Tech, Videos] That unsafe keywords in Rust mean two things: “You have to read the docs!” or “I promise I’ve read the docs and followed the rules!”. Series: Language basics, More syntax, Traits and generics, Building applications, Concurrency and parallelism, Trait objects, Async, Not safe This section (Async): […]

1 min read

Mini-rust in Rust 011: Parsing tasks plus expressions

Last time we gave a task statement. This time: break it down, so we’re ready to execute! You can find the source code at codeberg.org/andybalaam/milk and more of my stuff at artificialworlds.net Game Online Gaming Hub A gaming hub can refer to a central platform or space dedicated to gaming, where players can access games, […]

1 min read

Rust 101 – 44: Undefined behavior

September 16, 2024 [Programming, Programming Languages, Rust, Tech, Videos] If you write unsafe Rust, you need to consider “undefined behavior”. We discuss what this means, and try to develop intuition about why we can’t predict how our program will behave if we don’t follow the rules. Series: Language basics, More syntax, Traits and generics, Building […]

1 min read

Mini-rust in Rust 010: Lexing tasks

We are ready to make the appropriate statements: specifically the “let” statements that will assign values ​​to variables. You can find the source code at codeberg.org/andybalaam/milk and more of my stuff at artificialworlds.net Game Online Gaming Hub A gaming hub can refer to a central platform or space dedicated to gaming, where players can access […]

1 min read

Rust 101 – 45: Unsafe types and examples

September 27, 2024 [Programming, Programming Languages, Rust, Tech, Videos] A look at some types of code you would use if you were doing unsafe Rust, and some types of unsafe code you might want to use. Series: Language basics, More syntax, Traits and generics, Building applications, Concurrency and parallelism, Trait objects, Async, Not safe This […]

1 min read

Mini-rust in Rust 009: Handling parsing errors

Our parser is somewhat functional, but needs some work to make it not so bad. We realize that we’re doing some things awkwardly or wrongly, so let’s fix them before they get out of hand. You can find the source code at codeberg.org/andybalaam/milk and more of my stuff at artificialworlds.net Game Online Gaming Hub A […]

1 min read

Rust 101 – 46: Exercises for module F (q1)

07 October 2024 [Programming, Programming Languages, Rust, Tech, Videos] Coding a linked list based on raw pointers in Rust. Series: Language basics, More syntax, Traits and generics, Building applications, Concurrency and parallelism, Trait objects, Async, Not safe This section (Async): 42: Why is it unsafe?, 43: Meaning of unsafe, 44: Undefined behavior, 45: Type unsafe, […]

1 min read