Mini-Rust in Rust 016: Tidy up our parser

We left our parser in a terrible chaos after the last video, so we will tidy up a little and make it easier to understand. You can find the source code at codeberg.org/andybalaam/milk and more of my items in artificialworlds.net Game Online Gaming Hub

Rust 101 – 35: Futures

18 July 2024 [Programming, Programming Languages, Rust, Tech, Videos] Exploring what the future is in the Ashnc rust and how we can manually write a code of time. Usually, we avoid this manual work using async And await Keywords, but looking into this matter helps us understand what the keyword is actually doing. Series: Basics…

Mini-Rust in Rust 015: Drain the Typed Task

We want to do several types of examinations, so the first step is to write some codes that cause type errors. We will leave let x: i32 = 3.0;. To do that, we must be able to Lex and break down : i32 part… You can find the source code at codeberg.org/andybalaam/milk and more of…

RUST 101 – 36: What Ashnc and Await actually did

July 25, 2024 [Programming, Programming Languages, Rust, Tech, Videos] Trying to explain as slowly as possible what really happens when the compiler finds the Ashnc function that contains waiting: it writes the poll method for you to make something that implements the future. The poll method produced by the poll, the future you ask for…

Rust 101 – 37: Async Runtimes

July 29, 2024 [Programming, Programming Languages, Rust, Tech, Videos] We talk about how the future has a poll method, but who calls it? That’s the Runtime work. We talk about how to launch your ASYNC code and how to choose the right Runtime, and then we have a very short view on several web frameworks…

Mini-Rust in Rust 014: Evaluate the Task

Finally, we will run a piece of real code that actually looks like a programming language! We set the variable to the value, and then use the variable later … You can find the source code at codeberg.org/andybalaam/milk and more of my items in artificialworlds.net Game Online Gaming Hub

Rust 101 – 38: Exercise for Module E (Q1A)

August 6, 2024 [Programming, Programming Languages, Rust, Tech, Videos] Writing the Multi-Produser-Single-Consumer (MPSC) queue uses ASYNC rust. To see the training code like when I recorded the video: git clone cd teach-rs git checkout 95d9927 Series: Basics of language, more syntax, nature and generation, building applications, concurrent and parallelism, objects of trait, ASYNCUnsafe, FFI This…

Mini-Rust in Rust 013: Fix Bugs in Our Lexer

We have been resistant to strange problems with our Lexer: until now we need a white space between each token. But, the last time we made a backtracking iterator that we can use to fix this problem, so let’s continue and do it. You can find the source code at codeberg.org/andybalaam/milk and more of my…

Rust 101 – 39: Exercises for module E (q1b)

August 20, 2024 [Programming, Programming Languages, Rust, Tech, Videos] Writing a disposable queue using Rust’s async, this time with a little help. 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…

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