- 11
- 2 607
Aleksandr Koshkin
Приєднався 19 сер 2009
Random rants on programming and tech.
Recursion in Rust's macro_rules can be tricky, here's why
This video is just my two cents on Auroran’s talk about declarative macros, where I try to break down what recursion really means in Rust’s declarative macros.
Aurorans's talk: ua-cam.com/video/7uSM60jlkBE/v-deo.html&ab_channel=Rust
Aurorans's talk: ua-cam.com/video/7uSM60jlkBE/v-deo.html&ab_channel=Rust
Переглядів: 238
Відео
GameOfLife in Nasm (2): Simplifying the Rust implementation
Переглядів 1485 місяців тому
In the video, I'm refining my Rust implementation to facilitate a smoother transition to NASM. The code for that clip is here: github.com/magniff/gol-nasm
GameOfLife in Nasm (1): implementing it in Rust first
Переглядів 1465 місяців тому
In this video, we'll be creating the Game of Life in Rust as a foundation for upcoming vids. Code for that clip: github.com/magniff/gol-nasm
GameOfLife in Nasm (0): invoking assembly from Rust
Переглядів 2945 місяців тому
In this video series, we're going to develop Conway's Game of Life using NASM. However, since my skills in assembly are still developing, we'll begin by implementing it in Rust and then progressively rewrite it in NASM, step by step. The code for that clip is here: github.com/magniff/gol-nasm
Type level implementation of a stack machine in Rust
Переглядів 6755 місяців тому
In this video, we'll create a stack-based virtual machine that performs computations using the Peano representation of natural numbers. The key feature of this implementation is that it's entirely built using various Rust types and traits. The code for that vid is here: github.com/magniff/stack-machine-rs
0: Proc macro derive (Rust) - implementing a smart builder pattern
Переглядів 4026 місяців тому
In this video, I'll cover the implementation of the builder pattern in Rust, demonstrating a nice version using procedural macros. The code for that stream: github.com/magniff/builder-rs/
Type level implementation of Peano numbers in Rust
Переглядів 2636 місяців тому
In this screencast, I'm leveraging Rust's type system by defining Peano numbers using Rust's structs and traits, and exploring some fundamental arithmetic operations. The code for the video: github.com/magniff/peano
3: μjson (Rust) - making it fast
Переглядів 736 місяців тому
I realized that I wasn't measuring performance accurately; initially, my parser was ten times slower than serde_json. However, by using static dispatch, I managed to make my parser combinator implementation 25% faster than serde_json. The code for that playlist is here: github.com/magniff/ujson
2: μjson (Rust) - finalizing the parser implementation, comparing to serde
Переглядів 796 місяців тому
In the video, I'll complete the implementation of the JSON parser and compare it with Serde. Source code for that video: github.com/magniff/ujson
1: μjson (Rust) - a more accurate number parser
Переглядів 896 місяців тому
In this screencast, we'll enhance the accuracy of the number parser and set the groundwork for upcoming improvements to the JSON parser. Prev clip: ua-cam.com/video/zfZN6hg_ZaU/v-deo.htmlsi=Rk_Y6LrxOlUjT6DD Source code for that video: github.com/magniff/ujson
0: μjson (Rust) - initial thoughts and setup
Переглядів 2036 місяців тому
In that screencast, we took a closer look at the design and implementation of a basic parser combinator library in Rust, focusing specifically on topics such as: - Closures and their lifetimes - Common issues encountered when writing code that heavily utilizes closures Source code for that video: github.com/magniff/ujson
What extensions do you use for auto complete?
github copilot
Super cool videos, thank you for your content. Subscribed!
Круто, не догадывался, что настолько просто можно реализовать факториал на уровне типов Rust. Спасибо за видео.